function EntityDescriptionInterface::getDescription
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php \Drupal\Core\Entity\EntityDescriptionInterface::getDescription()
- 8.9.x core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php \Drupal\Core\Entity\EntityDescriptionInterface::getDescription()
- 11.x core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php \Drupal\Core\Entity\EntityDescriptionInterface::getDescription()
Gets the entity description.
Return value
string The entity description.
3 methods override EntityDescriptionInterface::getDescription()
- EntityTestBundle::getDescription in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestBundle.php - Gets the entity description.
- EntityTestMulBundle::getDescription in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestMulBundle.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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.