You are here

public function RealisticDummyContentDrupalTrait::getAllVocabularies in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 7.2 api/src/traits/RealisticDummyContentDrupalTrait.php \Drupal\realistic_dummy_content_api\traits\RealisticDummyContentDrupalTrait::getAllVocabularies()
  2. 3.x api/src/traits/RealisticDummyContentDrupalTrait.php \Drupal\realistic_dummy_content_api\traits\RealisticDummyContentDrupalTrait::getAllVocabularies()

Mockable wrapper around Framework::getAllVocabularies().

1 call to RealisticDummyContentDrupalTrait::getAllVocabularies()
RealisticDummyContentTermReferenceField::getTid in api/src/includes/RealisticDummyContentTermReferenceField.php
Returns term id for a term which is either existing or created on the fly.

File

api/src/traits/RealisticDummyContentDrupalTrait.php, line 25

Class

RealisticDummyContentDrupalTrait
A trait with wrappers to system calls.

Namespace

Drupal\realistic_dummy_content_api\traits

Code

public function getAllVocabularies() {
  return Framework::instance()
    ->getAllVocabularies();
}