You are here

public function VocabularyResponse::setVocabulary in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\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;
}