public function RealisticDummyContentTermReferenceFieldTest::callbackVocabularyMachineName 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::callbackVocabularyMachineName()
Callback: dummy version of ::vocabularyMachineName().
File
- api/
src/ test/ includes/ RealisticDummyContentTermReferenceFieldTest.php, line 36
Class
- RealisticDummyContentTermReferenceFieldTest
- Tests for ...\includes\RealisticDummyContentTermReferenceField.
Namespace
Drupal\realistic_dummy_content_api\TestCode
public function callbackVocabularyMachineName($vocabulary) {
return $vocabulary['vid'];
}