Skip to content
Snippets Groups Projects

Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers

Open Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers
2 unresolved threads
Open Ben Mullins requested to merge issue/drupal-2845319:2845319-the-highlighting-of into 9.3.x
2 unresolved threads
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
  • 4cbbdb2d
    Issue #3247994 by NickDickinsonWilde, diqidoq: Claro's password element... · 4cbbdb2d
    Ben Mullins authored
    Issue #3247994 by NickDickinsonWilde, diqidoq: Claro's password element handling invalid fails in some circumstances
@@ -966,12 +966,12 @@ function claro_preprocess_form_element__password_confirm(&$variables) {
* Implements hook_preprocess_HOOK() for form_element__password.
*/
function claro_preprocess_form_element__password(&$variables) {
if (!empty($variables['element']['#array_parents']) && in_array('pass1', $variables['element']['#array_parents'])) {
if (!empty($variables['element']['#array_parents']) && in_array('pass1', $variables['element']['#array_parents'], TRUE)) {
// This is the main password form element.
$variables['attributes']['class'][] = 'password-confirm__password';
}
if (!empty($variables['element']['#array_parents']) && in_array('pass2', $variables['element']['#array_parents'])) {
if (!empty($variables['element']['#array_parents']) && in_array('pass2', $variables['element']['#array_parents'], TRUE)) {
// This is the password confirm form element.
$variables['attributes']['class'][] = 'password-confirm__confirm';
}
Loading