class VocabularyResponse
Same name in other branches
- 9 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse
- 8.9.x core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse
- 10 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse
Hierarchy
- class \Drupal\Core\Cache\CacheableResponse extends \Symfony\Component\HttpFoundation\Response implements \Drupal\Core\Cache\CacheableResponseInterface uses \Drupal\Core\Cache\CacheableResponseTrait
- class \Drupal\vocabulary_serialization_test\VocabularyResponse extends \Drupal\Core\Cache\CacheableResponse
Expanded class hierarchy of VocabularyResponse
File
-
core/
modules/ taxonomy/ tests/ modules/ vocabulary_serialization_test/ src/ VocabularyResponse.php, line 10
Namespace
Drupal\vocabulary_serialization_testView 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.