function ctools_query_string_exists_ctools_access_settings

Settings form.

1 string reference to 'ctools_query_string_exists_ctools_access_settings'
query_string_exists.inc in plugins/access/query_string_exists.inc

File

plugins/access/query_string_exists.inc, line 20

Code

function ctools_query_string_exists_ctools_access_settings($form, &$form_state, $config) {
    $form['settings']['key'] = array(
        '#title' => t('Query string key'),
        '#description' => t('Enter the key of the query string.'),
        '#type' => 'textfield',
        '#required' => TRUE,
        '#default_value' => $config['key'],
    );
    return $form;
}