VocabularyResponse.php
Same filename in other branches
Namespace
Drupal\vocabulary_serialization_testFile
-
core/
modules/ taxonomy/ tests/ modules/ vocabulary_serialization_test/ src/ VocabularyResponse.php
View source
<?php
namespace Drupal\vocabulary_serialization_test;
use Drupal\Core\Cache\CacheableResponse;
use Drupal\taxonomy\VocabularyInterface;
class VocabularyResponse extends CacheableResponse {
/**
* @var \Drupal\taxonomy\VocabularyInterface
*/
protected $vocabulary;
public function setVocabulary(VocabularyInterface $vocabulary) {
$this->vocabulary = $vocabulary;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
VocabularyResponse |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.