public function TermInterface::setDescription in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::setDescription()
Sets the term's description.
Parameters
string $description: The term's description.
Return value
$this
1 method overrides TermInterface::setDescription()
- Term::setDescription in core/
modules/ taxonomy/ src/ Entity/ Term.php - Sets the term's description.
File
- core/
modules/ taxonomy/ src/ TermInterface.php, line 34 - Contains \Drupal\taxonomy\TermInterface.
Class
- TermInterface
- Provides an interface defining a taxonomy term entity.
Namespace
Drupal\taxonomyCode
public function setDescription($description);