3 namespace Drupal\vocabulary_serialization_test;
5 use Drupal\taxonomy\VocabularyInterface;
7 class VocabularySerializationTestController {
9 public function vocabularyResponse(VocabularyInterface $taxonomy_vocabulary) {
10 $response = new VocabularyResponse('this is the output');
11 $response->setVocabulary($taxonomy_vocabulary);