You are here

public function EntityTestBundle::setDescription in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestBundle.php \Drupal\entity_test\Entity\EntityTestBundle::setDescription()
  2. 9 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\Entity

Code

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