Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
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 } |