function filebrowser_STARTER_filebrowser_handler_settings in Filebrowser 7.4
Same name and namespace in other branches
- 8 filebrowser_STARTER/filebrowser_STARTER.module \filebrowser_STARTER_filebrowser_handler_settings()
- 7.2 filebrowser_STARTER/filebrowser_STARTER.module \filebrowser_STARTER_filebrowser_handler_settings()
- 7.3 filebrowser_STARTER/filebrowser_STARTER.module \filebrowser_STARTER_filebrowser_handler_settings()
hook_filebrowser_handler_settings implementation
Parameters
$settings previously stored settings (see this as a kind of $form_data):
Return value
a Drupal form element
File
- filebrowser_STARTER/
filebrowser_STARTER.module, line 62 - hook_filebrowser_metadata_get implementation. the filebrowser file object to extract metadata from
Code
function filebrowser_STARTER_filebrowser_handler_settings($settings) {
$form['size'] = array(
'#type' => 'textfield',
'#title' => t('Thumbnails size'),
'#default_value' => $settings->size ? $settings->size : 128,
'#description' => t("Thumbnails size."),
);
return $form;
}