public function EntityTestBundle::setDescription in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestBundle.php \Drupal\entity_test\Entity\EntityTestBundle::setDescription()
Sets the entity description.
Parameters
string $description: The entity description.
Return value
$this
Overrides EntityDescriptionInterface::setDescription
File
- core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestBundle.php, line 73
Class
- EntityTestBundle
- Defines the Test entity bundle configuration entity.
Namespace
Drupal\entity_test\EntityCode
public function setDescription($description) {
$this->description = $description;
return $this;
}