public function scald_views_handler_field_data::options_form in Scald: Media Management made easy 7
Overrides views_handler_field::options_form().
Overrides views_handler_field::options_form
File
- includes/
scald_views_handler_field_data.inc, line 22 - Provides a field showing a part of the data-bag on an atom
Class
- scald_views_handler_field_data
- @file Provides a field showing a part of the data-bag on an atom
Code
public function options_form(&$form, &$form_state) {
$form['data_key'] = array(
'#type' => 'textfield',
'#title' => t('Data key'),
'#default_value' => $this->options['data_key'],
'#description' => t('Specify the key of the data that should be displayed. This is atom type and provider specific.'),
);
$form['plain'] = array(
'#type' => 'checkbox',
'#title' => t('Sanitize output'),
'#default_value' => $this->options['plain'],
'#description' => t('Specify if the output should be sanitized to prevent injection.'),
);
parent::options_form($form, $form_state);
}