function viewsreference_theme in Views Reference Field 8.2
Same name and namespace in other branches
- 8 viewsreference.module \viewsreference_theme()
Implements hook_theme().
File
- ./
viewsreference.module, line 26 - Defines a field type to embed views in an entity reference field.
Code
function viewsreference_theme($existing, $type, $theme, $path) {
return [
'viewsreference__view_title' => [
'template' => 'viewsreference--view-title',
'render element' => 'variables',
],
];
}