public property Term::$vocabulary_machine_name

The machine name of the vocabulary the term is assigned to.

If not given, this value will be set automatically by loading the vocabulary based on the $entity->vid property.

Type: string

File

drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Term.php, line 125
Definition of Drupal\taxonomy\Plugin\Core\Entity\Term.

Class

Term
Defines the taxonomy term entity.

Namespace

Drupal\taxonomy\Plugin\Core\Entity

Code

public $vocabulary_machine_name;