You are here

public function FrameworkInterface::vocabularyMachineName in Realistic Dummy Content 3.x

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

Given a vocabulary, return its name.

Parameters

object $vocabulary: A Drupal vocabulary object.

Return value

string A vocabulary machine name, such as "fruit".

Throws

\Exception

1 method overrides FrameworkInterface::vocabularyMachineName()
Framework::vocabularyMachineName in api/src/Framework/Framework.php
Given a vocabulary, return its name.

File

api/src/Framework/FrameworkInterface.php, line 280

Class

FrameworkInterface
Defines and abstracts all functions which are used by our module.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function vocabularyMachineName($vocabulary);