You are here

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

Callback: dummy version of ::vocabularyMachineName().

File

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

Class

RealisticDummyContentTermReferenceFieldTest
Tests for ...\includes\RealisticDummyContentTermReferenceField.

Namespace

Drupal\Tests\realistic_dummy_content_api\Unit\includes

Code

public function callbackVocabularyMachineName($vocabulary) {
  return $vocabulary['vid'];
}