Implements hook_password_policy_force_change_allowed_paths_alter().

Sujets associés

Fichier

./advagg.module, line 1302

Code

function advagg_password_policy_force_change_allowed_paths_alter(&$allowed_paths) {
    $advagg_items = advagg_menu();
    foreach ($advagg_items as $path => $attributes) {
        if (!empty($attributes['page callback']) && $attributes['page callback'] === 'advagg_missing_aggregate') {
            $allowed_paths[] = str_replace('/%', '/*', $path);
        }
    }
}