public function media_browser_plus_views_plugin_style_media_browser::options_form in Media Browser Plus 7.3
Provide options.
File
- views/
media_browser_plus_views_plugin_style_media_browser.inc, line 40 - The media browser plus style plugin.
Class
- media_browser_plus_views_plugin_style_media_browser
- Media Browser Plus Views style plugin.
Code
public function options_form(&$form, &$form_state) {
$form['files_draggable'] = array(
'#type' => 'checkbox',
'#title' => t('Enable drag and drop for files'),
'#default_value' => $this->options['files_draggable'],
);
// @todo Add folder management and enable once it's available.
// $form['folders_draggable'] = array(
// '#type' => 'checkbox',
// '#title' => t('Enable drag and drop for folders'),
// '#default_value' => $this->options['folders_draggable'],
// );
}