function video_views_handler_field_playtime_seconds::options_form in Video 6.2
Build option configuration form.
File
- views/
video_views_handler_field_playtime_seconds.inc, line 29
Class
- video_views_handler_field_playtime_seconds
- Field handler to display the play length of the video.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['time_type'] = array(
'#title' => t('Show playtime as'),
'#type' => 'select',
'#options' => array(
'hms' => t('Hour:min:sec'),
'sec' => t('Seconds'),
),
'#default_value' => $this->options['time_type'],
);
}