You are here

public function FrameworkInterface::termName 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::termName()
  2. 3.x api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::termName()

Given a taxonomy term, return its name.

Parameters

object $term: Drupal taxonomy term object.

Return value

string The taxonomy term name, such as "Bananas".

Throws

Exception

File

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

Class

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

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function termName($term);