function ctools_string_settings_form

Settings form for the argument.

1 string reference to 'ctools_string_settings_form'
string.inc in plugins/arguments/string.inc
Plugin to provide an argument handler for a raw string.

File

plugins/arguments/string.inc, line 45

Code

function ctools_string_settings_form(&$form, &$form_state, $conf) {
    $form['settings']['use_tail'] = array(
        '#title' => t('Get all arguments after this one'),
        '#type' => 'checkbox',
        '#default_value' => !empty($conf['use_tail']),
        '#description' => t('If checked, this string will include all arguments. For example, if the path is "path/%" and the user visits "path/foo/bar", if this is not checked the string will be "foo". If it is checked the string will be "foo/bar".'),
    );
}