You are here

function file_entity_page_edit in File Entity (fieldable files) 7

Same name and namespace in other branches
  1. 7.3 file_entity.pages.inc \file_entity_page_edit()
  2. 7.2 file_entity.pages.inc \file_entity_page_edit()

Menu callback; presents the Media editing form.

1 string reference to 'file_entity_page_edit'
file_entity_menu in ./file_entity.module
Implements hook_menu().

File

./file_entity.pages.inc, line 29
Supports file operations including View, Edit, and Delete.

Code

function file_entity_page_edit($file) {
  drupal_set_title(t('<em>Edit @type</em> @title', array(
    '@type' => $file->type,
    '@title' => $file->filename,
  )), PASS_THROUGH);
  return drupal_get_form('file_entity_edit', $file);
}