Same name and namespace in other branches
  1. 8.9.x core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::vid
  2. 9 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;