public function EnhancedEntityBundle::setDescription in Entity API 8.0
Sets the entity description.
Parameters
string $description: The entity description.
Return value
$this
Overrides EntityDescriptionInterface::setDescription
File
- tests/
modules/ entity_module_test/ src/ Entity/ EnhancedEntityBundle.php, line 82 - Contains \Drupal\entity_module_test\Entity\EnhancedEntityBundle.
Class
- EnhancedEntityBundle
- Provides bundles for the test entity.
Namespace
Drupal\entity_module_test\EntityCode
public function setDescription($description) {
$this->description = $description;
return $this;
}