public function EntityDescriptionInterface::getDescription in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php \Drupal\Core\Entity\EntityDescriptionInterface::getDescription()
Gets the entity description.
Return value
string The entity description.
2 methods override EntityDescriptionInterface::getDescription()
- EntityTestBundle::getDescription in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestBundle.php - Gets the entity description.
- MediaType::getDescription in core/
modules/ media/ src/ Entity/ MediaType.php - Gets the entity description.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityDescriptionInterface.php, line 16
Class
- EntityDescriptionInterface
- Defines the interface for entities that have a description.
Namespace
Drupal\Core\EntityCode
public function getDescription();