You are here

function content_access_rules_role_based_form in Content Access 6

Adds the role based settings to the form.

3 calls to content_access_rules_role_based_form()
content_access_action_grant_node_permissions_form in ./content_access.rules.inc
content_access_action_revoke_node_permissions_form in ./content_access.rules.inc
content_access_condition_check_permissions_form in ./content_access.rules.inc

File

./content_access.rules.inc, line 12
Rules specific functions that expose content_access' API.

Code

function content_access_rules_role_based_form($settings, &$form) {
  module_load_include('inc', 'content_access', 'content_access.admin');
  $form['#includes'][] = './' . drupal_get_path('module', 'content_access') . '/content_access.admin.inc';
  $form += content_access_role_based_form($settings);
}