function mediafront_handler_field_player::options_submit in MediaFront 6
Same name and namespace in other branches
- 6.2 views/mediafront_handler_field_player.inc \mediafront_handler_field_player::options_submit()
- 7 views/mediafront_handler_field_player.inc \mediafront_handler_field_player::options_submit()
File
- views/
mediafront_handler_field_player.inc, line 106
Class
- mediafront_handler_field_player
- Field handler to provide simple renderer that turns a URL into a clickable link.
Code
function options_submit($form, &$form_state) {
parent::options_submit($form, $form_state);
// Flatten all mediafront options
$form_state['values']['options']['preset'] = $form_state['values']['options']['mediafront']['preset'];
$form_state['values']['options'] = array_merge($form_state['values']['options'], $form_state['values']['options']['mediafront']['mediawrapper']);
$form_state['values']['options'] = array_merge($form_state['values']['options'], $form_state['values']['options']['mediafront']['previewwrapper']);
}