function rules_path_integration_access in Rules 7.2
Path integration access callback.
Related topics
2 string references to 'rules_path_integration_access'
- rules_path_action_info in modules/
path.rules.inc - Implements hook_rules_action_info() on behalf of the path module.
- rules_path_condition_info in modules/
path.rules.inc - Implements hook_rules_condition_info() on behalf of the path module.
File
- modules/
path.rules.inc, line 109 - Rules integration for the path module.
Code
function rules_path_integration_access($type, $name) {
if ($type == 'action' && $name == 'path_alias') {
return user_access('administer url aliases');
}
return user_access('create url aliases');
}