function EntityTestBundle::setDescription

Same name in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestBundle.php \Drupal\entity_test\Entity\EntityTestBundle::setDescription()
  2. 10 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestBundle.php \Drupal\entity_test\Entity\EntityTestBundle::setDescription()
  3. 11.x core/modules/system/tests/modules/entity_test/src/Entity/EntityTestBundle.php \Drupal\entity_test\Entity\EntityTestBundle::setDescription()

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.