Skip to content
Snippets Groups Projects
Commit d3555000 authored by Igor Biki's avatar Igor Biki
Browse files

ISTWCMS-4707 Code standards.

parent 8b20b898
No related branches found
No related tags found
1 merge request!75ISTWCMS-4707 Adding config form, permissions, and route for module.
...@@ -350,7 +350,7 @@ function uw_cfg_common_page_attachments(array &$page) { ...@@ -350,7 +350,7 @@ function uw_cfg_common_page_attachments(array &$page) {
} }
// Check if requested route is admin route. This should cover /node/1/edit, // Check if requested route is admin route. This should cover /node/1/edit,
// node/1/revisions, term/1/edit, webform results page // node/1/revisions, term/1/edit, webform results page.
$skip_ga_snippet = \Drupal::service('router.admin_context')->isAdminRoute(); $skip_ga_snippet = \Drupal::service('router.admin_context')->isAdminRoute();
// When current route is not detected as admin path, check if route is // When current route is not detected as admin path, check if route is
......
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