function rules_path_integration_access

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

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');
}