public Term::setDescription($description)
Sets the term's description.
Parameters
string $description: The term's description.
Return value
$this
Overrides TermInterface::setDescription
File
- core/modules/taxonomy/src/Entity/Term.php, line 180
Class
- Term
- Defines the taxonomy term entity.
Namespace
Drupal\taxonomy\Entity
Code
public function setDescription($description) { $this->set('description', $description); return $this; }
Please login to continue.