function Vocabulary::id

Same name in other branches
  1. 9 core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::id()
  2. 10 core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::id()
  3. 11.x core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::id()

Overrides EntityBase::id

1 call to Vocabulary::id()
Vocabulary::getHierarchy in core/modules/taxonomy/src/Entity/Vocabulary.php
Returns the vocabulary hierarchy.

File

core/modules/taxonomy/src/Entity/Vocabulary.php, line 110

Class

Vocabulary
Defines the taxonomy vocabulary entity.

Namespace

Drupal\taxonomy\Entity

Code

public function id() {
    return $this->vid;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.