Pull merge.
[yaffs-website] / web / core / lib / Drupal / Core / Entity / EntityDescriptionInterface.php
1 <?php
2
3 namespace Drupal\Core\Entity;
4
5 /**
6  * Defines the interface for entities that have a description.
7  */
8 interface EntityDescriptionInterface {
9
10   /**
11    * Gets the entity description.
12    *
13    * @return string
14    *   The entity description.
15    */
16   public function getDescription();
17
18   /**
19    * Sets the entity description.
20    *
21    * @param string $description
22    *   The entity description.
23    *
24    * @return $this
25    */
26   public function setDescription($description);
27
28 }