You are here

public function RealisticDummyContentTermReferenceFieldTest::callbackTaxonomyLoadTree in Realistic Dummy Content 3.x

Callback: dummy version of ::taxonomyLoadTree().

File

api/tests/src/Unit/includes/RealisticDummyContentTermReferenceFieldTest.php, line 18

Class

RealisticDummyContentTermReferenceFieldTest
Tests for ...\includes\RealisticDummyContentTermReferenceField.

Namespace

Drupal\Tests\realistic_dummy_content_api\Unit\includes

Code

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