Mercurial > hg > isophonics-drupal-site
annotate core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\Core\Entity; |
Chris@0 | 4 |
Chris@0 | 5 /** |
Chris@0 | 6 * Defines the interface for entities that have a description. |
Chris@0 | 7 */ |
Chris@0 | 8 interface EntityDescriptionInterface { |
Chris@0 | 9 |
Chris@0 | 10 /** |
Chris@0 | 11 * Gets the entity description. |
Chris@0 | 12 * |
Chris@0 | 13 * @return string |
Chris@0 | 14 * The entity description. |
Chris@0 | 15 */ |
Chris@0 | 16 public function getDescription(); |
Chris@0 | 17 |
Chris@0 | 18 /** |
Chris@0 | 19 * Sets the entity description. |
Chris@0 | 20 * |
Chris@0 | 21 * @param string $description |
Chris@0 | 22 * The entity description. |
Chris@0 | 23 * |
Chris@0 | 24 * @return $this |
Chris@0 | 25 */ |
Chris@0 | 26 public function setDescription($description); |
Chris@0 | 27 |
Chris@0 | 28 } |