function filefield_meta_handler_field_tags::options_form in FileField 6.3
File
- filefield_meta/
includes/ filefield_meta_handler_field_tags.inc, line 21 - A special handler that renders ID3 tags attached to a file.
Class
- filefield_meta_handler_field_tags
- Render a field as a readable value in hours, minutes, and seconds.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['relationship']['#weight'] = -2;
$form['tag'] = array(
'#type' => 'select',
'#title' => t('ID3 tag'),
'#required' => TRUE,
'#default_value' => $this->options['tag'],
'#options' => filefield_meta_tags(),
'#description' => t('Select the tag to be rendered. If needing multiple tags, add another ID3 tags field.'),
'#weight' => -1,
);
}