You are here

public function EntityTestMulBundle::setDescription in Drupal 9

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;
}