content_access_rules.module in Content Access 7
Hooks and callback functions for rules.module integration.
File
content_access_rules/content_access_rules.moduleView source
<?php
/**
* @file
* Hooks and callback functions for rules.module integration.
*/
/**
* Implements hook_content_type_access().
*/
function content_access_rules_content_type_access($settings) {
rules_invoke_event('content_access_content_type');
}
/**
* Implements hook_user_acl().
*/
function content_access_rules_user_acl($settings) {
rules_invoke_event('content_access_user_acl');
}
/**
* Implements hook_per_node().
*/
function content_access_rules_per_node($settings, $node) {
rules_invoke_event('content_access_per_node', $node);
}
Functions
Name | Description |
---|---|
content_access_rules_content_type_access | Implements hook_content_type_access(). |
content_access_rules_per_node | Implements hook_per_node(). |
content_access_rules_user_acl | Implements hook_user_acl(). |