function maestro_theme_suggestions_views_view_table_alter in Maestro 8.2
Same name and namespace in other branches
- 3.x maestro.module \maestro_theme_suggestions_views_view_table_alter()
Implements hook_theme_suggestions_hook_alter().
File
- ./
maestro.module, line 744 - Provides glue logic, hook implementation and core set process variable functions.
Code
function maestro_theme_suggestions_views_view_table_alter(array &$suggestions, array $variables) {
// We are adding our own suggestion ONLY if the current view is our all flows view AND the current display is the all_flows_full.
$view = $variables['view'];
if ($view->current_display == 'all_flows_full' && $view
->id() == 'maestro_all_flows') {
$suggestions[] = 'maestro_views_view_table';
}
}