class VocabularySerializationTestController
Same name in other branches
- 9 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularySerializationTestController.php \Drupal\vocabulary_serialization_test\VocabularySerializationTestController
- 8.9.x core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularySerializationTestController.php \Drupal\vocabulary_serialization_test\VocabularySerializationTestController
- 11.x core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularySerializationTestController.php \Drupal\vocabulary_serialization_test\VocabularySerializationTestController
Hierarchy
- class \Drupal\vocabulary_serialization_test\VocabularySerializationTestController
Expanded class hierarchy of VocabularySerializationTestController
File
-
core/
modules/ taxonomy/ tests/ modules/ vocabulary_serialization_test/ src/ VocabularySerializationTestController.php, line 7
Namespace
Drupal\vocabulary_serialization_testView source
class VocabularySerializationTestController {
public function vocabularyResponse(VocabularyInterface $taxonomy_vocabulary) {
$response = new VocabularyResponse('this is the output');
$response->setVocabulary($taxonomy_vocabulary);
return $response;
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.