function EntityDescriptionInterface::setDescription

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php \Drupal\Core\Entity\EntityDescriptionInterface::setDescription()
  2. 10 core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php \Drupal\Core\Entity\EntityDescriptionInterface::setDescription()
  3. 8.9.x core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php \Drupal\Core\Entity\EntityDescriptionInterface::setDescription()

Sets the entity description.

Parameters

string $description: The entity description.

Return value

$this

File

core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php, line 26

Class

EntityDescriptionInterface
Defines the interface for entities that have a description.

Namespace

Drupal\Core\Entity

Code

public function setDescription($description);

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