public function FrameworkInterface::fieldTypeMachineName in Realistic Dummy Content 7.2
Same name and namespace in other branches
- 8.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::fieldTypeMachineName()
- 3.x api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::fieldTypeMachineName()
Return a Drupal 7-style field name if possible for a given entity.
For example if the field type is entity_reference, we can transform that to taxonomy_term_reference for a given field in a given entity.
Parameters
array $info: An associative array which can contain "entity" and "field_name" and "machine_name".
Return value
string A Drupal 7-style field type machine name.
File
- api/
src/ Framework/ FrameworkInterface.php, line 100
Class
- FrameworkInterface
- Defines and abstracts all functions which are used by our module.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function fieldTypeMachineName($info);