function viewsreference_theme_suggestions_viewsreference__view_title in Views Reference Field 8
Implements hook_theme_suggestions_HOOK().
File
- ./
viewsreference.module, line 40 - Module functions for viewsreference.
Code
function viewsreference_theme_suggestions_viewsreference__view_title(array $variables) {
$suggestions = [];
if (!empty($variables['variables']['#view']) && $variables['variables']['#view'] instanceof ViewExecutable) {
$suggestions = $variables['variables']['#view']
->buildThemeFunctions('viewsreference__view_title');
}
return $suggestions;
}