Vocabulary::$vid

Same name in other branches
  1. 9 core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::vid
  2. 8.9.x core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::vid
  3. 11.x core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::vid

The taxonomy vocabulary ID.

Type: string

File

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

Class

Vocabulary
Defines the taxonomy vocabulary entity.

Namespace

Drupal\taxonomy\Entity

Code

protected $vid;

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