function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.