You are here

public function TermInterface::getVocabularyId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::getVocabularyId()

Get the taxonomy vocabulary id this term belongs to.

Return value

int The id of the vocabulary.

1 method overrides TermInterface::getVocabularyId()
Term::getVocabularyId in core/modules/taxonomy/src/Entity/Term.php
Get the taxonomy vocabulary id this term belongs to.

File

core/modules/taxonomy/src/TermInterface.php, line 96
Contains \Drupal\taxonomy\TermInterface.

Class

TermInterface
Provides an interface defining a taxonomy term entity.

Namespace

Drupal\taxonomy

Code

public function getVocabularyId();