public function FrameworkInterface::termName in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::termName()
- 7.2 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
1 method overrides FrameworkInterface::termName()
- Framework::termName in api/
src/ Framework/ Framework.php - Given a taxonomy term, return its name.
File
- api/
src/ Framework/ FrameworkInterface.php, line 241
Class
- FrameworkInterface
- Defines and abstracts all functions which are used by our module.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function termName($term);