You are here

function file_entity_admin_paths in File Entity (fieldable files) 7

Same name and namespace in other branches
  1. 7.3 file_entity.module \file_entity_admin_paths()
  2. 7.2 file_entity.module \file_entity_admin_paths()

Implements hook_admin_paths().

File

./file_entity.module, line 175
Extends Drupal file entities to be fieldable and viewable.

Code

function file_entity_admin_paths() {
  $paths = array(
    'file/*/edit' => TRUE,
    'file/*/delete' => TRUE,
  );
  return $paths;
}