public function RealisticDummyContentDrupalTrait::fieldInfoField in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/traits/RealisticDummyContentDrupalTrait.php \Drupal\realistic_dummy_content_api\traits\RealisticDummyContentDrupalTrait::fieldInfoField()
- 7.2 api/src/traits/RealisticDummyContentDrupalTrait.php \Drupal\realistic_dummy_content_api\traits\RealisticDummyContentDrupalTrait::fieldInfoField()
Mockable wrapper around Framework::fieldInfoField().
1 call to RealisticDummyContentDrupalTrait::fieldInfoField()
- RealisticDummyContentTermReferenceField::getTid in api/
src/ includes/ RealisticDummyContentTermReferenceField.php - Returns term id for a term which is either existing or created on the fly.
File
- api/
src/ traits/ RealisticDummyContentDrupalTrait.php, line 20
Class
- RealisticDummyContentDrupalTrait
- A trait with wrappers to system calls.
Namespace
Drupal\realistic_dummy_content_api\traitsCode
public function fieldInfoField($field_name) {
return Framework::instance()
->fieldInfoField($field_name);
}