Commit e41c03d4 by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

theme suggestion

See merge request manzarH/dic-global-dev!497
parents 14828ece 80ad5696
...@@ -31,6 +31,15 @@ function envigo_form_search_block_form_alter(&$form, &$form_state) { ...@@ -31,6 +31,15 @@ function envigo_form_search_block_form_alter(&$form, &$form_state) {
$form['actions']['submit']['#attributes']['class'][] = 'search-button'; $form['actions']['submit']['#attributes']['class'][] = 'search-button';
} }
function envigo_theme_suggestions_views_view_alter(array &$suggestions, array $variables) {
// If you want you can add a template suggestion for all views
// based on their ID:
$suggestions[] = sprintf('views_view__%s', $variables['view']->id());
// Or you can check the ID, add suggestions, do whatever you want
// ...
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment