You are here

public function EnhancedEntityBundle::getDescription in Entity API 8.0

Gets the entity description.

Return value

string The entity description.

Overrides EntityDescriptionInterface::getDescription

File

tests/modules/entity_module_test/src/Entity/EnhancedEntityBundle.php, line 75
Contains \Drupal\entity_module_test\Entity\EnhancedEntityBundle.

Class

EnhancedEntityBundle
Provides bundles for the test entity.

Namespace

Drupal\entity_module_test\Entity

Code

public function getDescription() {
  return $this->description;
}