Skip to content
Snippets Groups Projects
Unverified Commit e53005de authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #178 from ASCWebServices/canini

fixing coding error
parents d843556b 5d7ab3e5
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ function asc_bootstrap_preprocess_node(&$vars, $hook) {
function asc_bootstrap_theme_suggestions_page_alter(array &$suggestions, array $variables) {
// Add content type suggestions.
if (($node = \Drupal::request()->attributes->get('node')) && (strpos($_SERVER['REQUEST_URI'], "revisions") == false)) {
array_splice($suggestions, 1, 0, 'page__node__' . $node->getType());
array_splice($suggestions, 1, 0, 'page__' . $node->getType());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment