You are here

public function EntityDescriptionInterface::getDescription in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php \Drupal\Core\Entity\EntityDescriptionInterface::getDescription()
  2. 10 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\Entity

Code

public function getDescription();