function ctools_context_exists_ctools_access_settings

Settings form.

1 string reference to 'ctools_context_exists_ctools_access_settings'
context_exists.inc in plugins/access/context_exists.inc

File

plugins/access/context_exists.inc, line 21

Code

function ctools_context_exists_ctools_access_settings($form, &$form_state, $conf) {
    $form['settings']['exists'] = array(
        '#type' => 'radios',
        '#description' => t("Check to see if the context exists (contains data) or does not exist (contains no data). For example, if a context is optional and the path does not contain an argument for that context, it will not exist."),
        '#options' => array(
            TRUE => t('Exists'),
            FALSE => t("Doesn't exist"),
        ),
        '#default_value' => $conf['exists'],
    );
    return $form;
}