You are here

function media_metadata_form in D7 Media 6

File

media_metadata/media_metadata.module, line 53
This module provides metadata integration with the Media module.

Code

function media_metadata_form($form_state, $mimetype = '*') {
  $form = module_invoke_all('media_metadata_form', $form_state, $mimetype);
  $form['mimetype'] = array(
    '#type' => 'value',
    '#value' => $mimetype,
  );
  $form['#submit'] = array(
    'media_metadata_form_submit',
  );
}