12345678910111213141516171819202122232425262728 |
- <?php
- namespace Drupal\Core\Entity;
- /**
- * Defines the interface for entities that have a description.
- */
- interface EntityDescriptionInterface {
- /**
- * Gets the entity description.
- *
- * @return string
- * The entity description.
- */
- public function getDescription();
- /**
- * Sets the entity description.
- *
- * @param string $description
- * The entity description.
- *
- * @return $this
- */
- public function setDescription($description);
- }
|