public function RealisticDummyContentTermReferenceFieldTest::callbackTaxonomyLoadTree in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/test/includes/RealisticDummyContentTermReferenceFieldTest.php \Drupal\realistic_dummy_content_api\Test\RealisticDummyContentTermReferenceFieldTest::callbackTaxonomyLoadTree()
Callback: dummy version of ::taxonomyLoadTree().
File
- api/
src/ test/ includes/ RealisticDummyContentTermReferenceFieldTest.php, line 22
Class
- RealisticDummyContentTermReferenceFieldTest
- Tests for ...\includes\RealisticDummyContentTermReferenceField.
Namespace
Drupal\realistic_dummy_content_api\TestCode
public function callbackTaxonomyLoadTree($vocabulary) {
return $vocabulary['terms'];
}