You are here

function file_entity_admin_paths in File Entity (fieldable files) 7.3

Same name and namespace in other branches
  1. 7 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 841
Extends Drupal file entities to be fieldable and viewable.

Code

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