function advagg_password_policy_force_change_allowed_paths_alter in Advanced CSS/JS Aggregation 7.2
Implements hook_password_policy_force_change_allowed_paths_alter().
Related topics
File
- ./
advagg.module, line 1301 - Advanced CSS/JS aggregation module.
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);
}
}
}