function entity_extra_field_theme in Entity Extra Field 8
Same name and namespace in other branches
- 2.0.x entity_extra_field.module \entity_extra_field_theme()
Implements hook_theme().
File
- ./
entity_extra_field.module, line 78 - The hook implementation for the entity extra field module.
Code
function entity_extra_field_theme($existing, $type, $theme, $path) {
return [
'entity_extra_field' => [
'render element' => 'element',
'path' => $path . '/templates',
'file' => 'entity_extra_field.theme',
'template' => 'entity-extra-field',
],
];
}