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