function acb_modules_enabled in Access Control Bridge 7
Implements hook_modules_enabled().
File
- ./
acb.module, line 11 - Drupal hooks and functions for the acb module.
Code
function acb_modules_enabled($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);
}
}