function VocabularyResponse::setVocabulary

File

core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php, line 15

Class

VocabularyResponse

Namespace

Drupal\vocabulary_serialization_test

Code

public function setVocabulary(VocabularyInterface $vocabulary) {
  $this->vocabulary = $vocabulary;
}

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