Browse Source

Moving collection route to admin/content (#8)

pull/756/head
dannylamb 8 years ago committed by Nick Ruest
parent
commit
eeaa05bb3f
  1. 8
      islandora.links.menu.yml
  2. 5
      islandora.links.task.yml
  3. 2
      src/Entity/FedoraResource.php

8
islandora.links.menu.yml

@ -1,11 +1,3 @@
# Fedora resource menu items definition
entity.fedora_resource.collection:
title: 'Fedora resource list'
route_name: entity.fedora_resource.collection
description: 'List Fedora resource entities'
parent: system.admin_structure
weight: 100
# Fedora resource type menu items definition
entity.fedora_resource_type.collection:
title: 'Fedora resource type list'

5
islandora.links.task.yml

@ -14,3 +14,8 @@ entity.fedora_resource.delete_form:
base_route: entity.fedora_resource.canonical
title: Delete
weight: 10
entity.fedora_resource.collection:
route_name: entity.fedora_resource.collection
base_route: system.admin_content
title: 'Fedora Resources'

2
src/Entity/FedoraResource.php

@ -57,7 +57,7 @@ use Drupal\user\UserInterface;
* "add-form" = "/fedora_resource/add/{fedora_resource_type}",
* "edit-form" = "/fedora_resource/{fedora_resource}/edit",
* "delete-form" = "/fedora_resource/{fedora_resource}/delete",
* "collection" = "/admin/structure/fedora_resource",
* "collection" = "/admin/content/fedora_resource",
* },
* bundle_entity_type = "fedora_resource_type",
* field_ui_base_route = "entity.fedora_resource_type.edit_form"

Loading…
Cancel
Save