You are here

function filebrowser_menu_link_defaults in Filebrowser 8

Implements hook_menu_link_defaults().

File

./filebrowser.module, line 84
Validates file path input on node form

Code

function filebrowser_menu_link_defaults() {
  $links = array();
  $links['filebrowser.admin.structure.settings'] = array(
    'link_title' => 'Filebrowser Settings',
    'description' => 'Configure Filebrowser entity',
    'route_name' => 'filebrowser.settings',
    'parent' => 'system.admin.structure',
  );
  $links['filebrowser.list'] = array(
    'link_title' => 'Filebrowser Listing',
    'description' => 'List Filebrowser content',
    'route_name' => 'filebrowser.list',
  );
  return $links;
}