class VocabularyResponse

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse
  2. 8.9.x core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse
  3. 11.x core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse

Hierarchy

Expanded class hierarchy of VocabularyResponse

File

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

Namespace

Drupal\vocabulary_serialization_test
View source
class VocabularyResponse extends CacheableResponse {
  
  /**
   * @var \Drupal\taxonomy\VocabularyInterface
   */
  protected $vocabulary;
  public function setVocabulary(VocabularyInterface $vocabulary) {
    $this->vocabulary = $vocabulary;
  }

}

Members

Title Sort descending Modifiers Object type Summary
VocabularyResponse::$vocabulary protected property
VocabularyResponse::setVocabulary public function

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