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