You are here

function ctools_ruleset_ctools_access_settings in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 ctools_access_ruleset/plugins/access/ruleset.inc \ctools_ruleset_ctools_access_settings()

Settings form for the 'by ruleset' access plugin

1 string reference to 'ctools_ruleset_ctools_access_settings'
ruleset.inc in ctools_access_ruleset/plugins/access/ruleset.inc
Plugin to provide access control based on user rulesetission strings.

File

ctools_access_ruleset/plugins/access/ruleset.inc, line 77
Plugin to provide access control based on user rulesetission strings.

Code

function ctools_ruleset_ctools_access_settings(&$form, &$form_state, $conf) {
  $form['markup'] = array(
    '#value' => '<div class="description">' . check_plain($form_state['plugin']['ruleset']->admin_description) . '</div>',
  );
}