You are here

public function EntityTestMulBundle::setDescription in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulBundle.php \Drupal\entity_test\Entity\EntityTestMulBundle::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/EntityTestMulBundle.php, line 72

Class

EntityTestMulBundle
Defines the Test entity mul bundle configuration entity.

Namespace

Drupal\entity_test\Entity

Code

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