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