Commit 83e8ec05 by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

add node

See merge request manzarH/dic-global-dev!278
parents 2048794f cb247f55
...@@ -20,8 +20,5 @@ function envigo_preprocess_html(&$variables) { ...@@ -20,8 +20,5 @@ function envigo_preprocess_html(&$variables) {
} }
} }
function mytheme_theme_suggestions_page_alter(array &$suggestions, array $variables) {
$node = \Drupal::request()->attributes->get('node');
$suggestions[] = 'page_product_detail';
}
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