function Vocabulary::id

Overrides EntityBase::id

File

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

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.