You are here

public function Framework::vocabularyIdentifier in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::vocabularyIdentifier()
  2. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::vocabularyIdentifier()

Returns the unique identifier for the vocabulary.

Parameters

object $vocabulary: The vocabulary object.

Return value

mixed A unique identifier for this framework.

Overrides FrameworkInterface::vocabularyIdentifier

1 method overrides Framework::vocabularyIdentifier()
Drupal8::vocabularyIdentifier in api/src/Framework/Drupal8.php
Returns the unique identifier for the vocabulary.

File

api/src/Framework/Framework.php, line 301

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

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