xmlsitemap_node_access will be TRUE. * * @param &$grants * The $grants array returned by hook_node_grants(). * @param $account * The user account requesting access to content. * @param $op * The operation being performed, 'view', 'update' or 'delete'. * * @see hook_node_grants() */ function hook_node_grants_alter(&$grants, $account, $op) { if (!empty($account->xmlsitemap_node_access)) { unset($grants['vocabulary']); } } /** * @} End of "addtogroup hooks". */