function file_entity_admin_menu_map

cis7 file_entity.module file_entity_admin_menu_map()
cle7 file_entity.module file_entity_admin_menu_map()
elmsmedia7 file_entity.module file_entity_admin_menu_map()
icor7 file_entity.module file_entity_admin_menu_map()
meedjum_blog7 file_entity.module file_entity_admin_menu_map()
mooc7 file_entity.module file_entity_admin_menu_map()

Implements hook_admin_menu_map().

File

sites/all/modules/ulmus/file_entity/file_entity.module, line 2492
Extends Drupal file entities to be fieldable and viewable.

Code

function file_entity_admin_menu_map() {
  if (!user_access('administer file types')) {
    return;
  }
  $map['admin/structure/file-types/manage/%file_type'] = array(
    'parent' => 'admin/structure/file-types',
    'arguments' => array(
      array('%file_type' => array_keys(file_entity_type_get_names())),
    ),
  );
  return $map;
}