Implements Drupal\Core\Entity\EntityInterface::bundle().
Overrides Entity::bundle
File
- drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Term.php, line 137
- Definition of Drupal\taxonomy\Plugin\Core\Entity\Term.
Class
- Term
- Defines the taxonomy term entity.
Namespace
Drupal\taxonomy\Plugin\Core\Entity
Code
public function bundle() {
return $this->vocabulary_machine_name;
}