Term::getName

public Term::getName()

Gets the name of the term.

Return value

string The name of the term.

Overrides TermInterface::getName

File

core/modules/taxonomy/src/Entity/Term.php, line 203

Class

Term
Defines the taxonomy term entity.

Namespace

Drupal\taxonomy\Entity

Code

public function getName() {
  return $this->label();
}
doc_Drupal
2016-10-29 09:47:02
Comments
Leave a Comment

Please login to continue.