function media_file_list_element_process in D7 Media 6
Same name and namespace in other branches
- 7 media.module \media_file_list_element_process()
Process callback for the media_browser element.
Parameters
$element:
$edit:
$form_state:
$form:
Return value
array
1 string reference to 'media_file_list_element_process'
- media_elements in ./
media.module - Implementation of hook_media_elements().
File
- ./
media.module, line 875 - Media API
Code
function media_file_list_element_process($element, $edit, $form_state, $form) {
$element['list'] = array(
'#type' => 'select',
'#options' => $element['#options'],
'#size' => variable_get('media_file_list_size', 10),
);
return $element;
}