You are here

public function RealisticDummyContentTermReferenceFieldTest::callbackTaxonomyLoadTree in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 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\Test

Code

public function callbackTaxonomyLoadTree($vocabulary) {
  return $vocabulary['terms'];
}