You are here

function media_page_edit in D7 Media 7

Menu callback; presents the Media editing form.

1 string reference to 'media_page_edit'
media_menu in ./media.module
Implement of hook_menu().

File

includes/media.pages.inc, line 30
Common pages for the Media module.

Code

function media_page_edit($file) {
  drupal_set_title(t('<em>Edit @type</em> @title', array(
    '@type' => $file->type != FILE_TYPE_NONE ? $file->type : '',
    '@title' => $file->filename,
  )), PASS_THROUGH);
  return drupal_get_form('media_edit', $file);
}