function iss_settings_form in Image Style Selector 7.2
Form builder; Global settings configuration form.
1 string reference to 'iss_settings_form'
- iss_menu in ./
iss.module - Implements hook_menu().
File
- ./
iss.admin.inc, line 6
Code
function iss_settings_form() {
$form = array();
$form['iss_apply_method'] = array(
'#type' => 'radios',
'#title' => t('Choose method of displaying changed image styles.'),
'#options' => array(
'default' => t('Default'),
'preprocess_images' => t('@preprocess_images (experimental)', array(
'@preprocess_images' => t('Preprocess images'),
)),
),
'#description' => t('There are a few different methods of displaying changed image styles. They differ by performance and capabilities. !default: Safer and faster, rely on altering formatters settings. Supports limited amount of formatters. !preprocess_images: Slower and experimental but should work also with views fields, and possibly in some other places.', array(
'!default' => '<em>' . t('Default') . '</em>',
'!preprocess_images' => '<em>' . t('Preprocess images') . '</em>',
)),
'#default_value' => variable_get('iss_apply_method', 'default'),
);
return system_settings_form($form);
}