You are here

public function Drupal8::vocabularyIdentifier in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 7.2 api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::vocabularyIdentifier()
  2. 3.x api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::vocabularyIdentifier()
2 calls to Drupal8::vocabularyIdentifier()
Drupal8::taxonomyLoadTree in api/src/Framework/Drupal8.php
Drupal8::vocabularyMachineName in api/src/Framework/Drupal8.php

File

api/src/Framework/Drupal8.php, line 410

Class

Drupal8
Drupal 8-specific code.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function vocabularyIdentifier($vocabulary) {
  return $vocabulary
    ->id();
}