));
}
-
/**
* Sets the "is-active" class on relevant links.
*
$search_key_current_path = 'data-drupal-link-system-path="' . $current_path . '"';
$search_key_front = 'data-drupal-link-system-path="<front>"';
+ // Receive the query in a standardized manner.
+ ksort($query);
+
$offset = 0;
// There are two distinct conditions that can make a link be marked active:
// 1. A link has the current path in its 'data-drupal-link-system-path'