You are here

public function FrameworkInterface::termId in Realistic Dummy Content 7.2

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

Given a taxonomy term, return its id.

Parameters

object $term: Drupal taxonomy term object.

Return value

int The taxonomy term id.

Throws

Exception

File

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

Class

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

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function termId($term);