function hosting_task_handler_field_status::options_form in Hosting 7.3
Same name and namespace in other branches
- 7.4 task/includes/views/handlers/hosting_task_handler_field_status.inc \hosting_task_handler_field_status::options_form()
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- task/
includes/ views/ handlers/ hosting_task_handler_field_status.inc, line 18
Class
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
if ($this
->allow_advanced_render()) {
$form['alter']['status_mode'] = array(
'#type' => 'radios',
'#title' => t('Display mode'),
'#options' => array(
'raw' => t('Raw value'),
'text' => t('Text value'),
'class' => t('CSS class'),
),
'#default_value' => $this->options['alter']['status_mode'],
'#description' => t(''),
);
}
}