function TermInterface::setDescription
Same name in other branches
- 9 core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::setDescription()
- 8.9.x core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::setDescription()
- 10 core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::setDescription()
Sets the term description.
Parameters
string $description: The term description.
Return value
$this
1 method overrides TermInterface::setDescription()
- Term::setDescription in core/
modules/ taxonomy/ src/ Entity/ Term.php - Sets the term description.
File
-
core/
modules/ taxonomy/ src/ TermInterface.php, line 31
Class
- TermInterface
- Provides an interface defining a taxonomy term entity.
Namespace
Drupal\taxonomyCode
public function setDescription($description);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.