function acb_modules_installed in Access Control Bridge 8
Implements hook_modules_installed().
File
- ./
acb.module, line 18 - Drupal hooks and functions for the acb module.
Code
function acb_modules_installed($modules) {
// Check if newly enabled modules are access control modules.
$new = count(array_intersect(acb_get_modules(TRUE), $modules));
if ($new) {
// Ask for rebuilding node permissions.
node_access_needs_rebuild(TRUE);
}
}