_domain_views_alter_grants(&$grants)Helper function to hook_domaingrants(). This should be replaced by a drupal_alter().
domain_views/domain_views.module, line 144
<?php
function _domain_views_alter_grants(&$grants) {
static $_modules;
if (!isset($_modules)) {
$_modules = module_implements('domaingrants');
}
if (!empty($_modules)) {
foreach ($_modules as $module) {
// Cannot use module_invoke_all() since these are passed by reference.
$function = $module .'_domaingrants';
$function($grants, $account, $op);
}
}
}
?>