function access_filter_form_fast in Access Filter 7
Form builder for the filter fast settings form.
1 string reference to 'access_filter_form_fast'
- access_filter_menu in ./
access_filter.module - Implements hook_menu().
File
- ./
access_filter.admin.inc, line 207 - Administration pages for access filters.
Code
function access_filter_form_fast($form) {
$filters = access_filter_load_all();
$form['dump'] = array(
'#type' => 'textarea',
'#value' => "\$conf['access_filter_fast'] = '" . access_filter_build_fast($filters) . "';",
'#attributes' => array(
'readonly' => 'readonly',
),
'#prefix' => '<div>' . t('To enable fast mode, add below line(s) into settings.php.') . '</div>',
);
return $form;
}