You are here

function media_file_list_element_process in D7 Media 7

Same name and namespace in other branches
  1. 6 media.module \media_file_list_element_process()

Process callback for the media_browser element.

Parameters

$element:

$edit:

$form_state:

$form:

Return value

array

File

./media.module, line 626
Media API

Code

function media_file_list_element_process($element, $edit, $form_state, $form) {
  $element['list'] = array(
    '#type' => 'select',
    '#options' => $element['#options'],
    '#size' => media_variable_get('file_list_size'),
  );
  return $element;
}