public function FrameworkInterface::termId 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::termId()
- 7.2 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
1 method overrides FrameworkInterface::termId()
- Framework::termId in api/
src/ Framework/ Framework.php - Given a taxonomy term, return its id.
File
- api/
src/ Framework/ FrameworkInterface.php, line 228
Class
- FrameworkInterface
- Defines and abstracts all functions which are used by our module.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function termId($term);