From 613cadb472e0b361e2537bea2eddd4c002628bfa Mon Sep 17 00:00:00 2001 From: Francesco Sardara Date: Fri, 23 Oct 2020 18:30:12 +0200 Subject: [PATCH] EWPP-460: Move associations route in a tab under under vocabularies route. --- open_vocabularies.links.menu.yml | 8 +------- open_vocabularies.links.task.yml | 9 +++++++++ open_vocabularies.routing.yml | 4 ++-- 3 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 open_vocabularies.links.task.yml diff --git a/open_vocabularies.links.menu.yml b/open_vocabularies.links.menu.yml index 839cf72..f2655a4 100644 --- a/open_vocabularies.links.menu.yml +++ b/open_vocabularies.links.menu.yml @@ -1,11 +1,5 @@ entity.open_vocabulary.overview: title: Vocabularies parent: system.admin_structure - description: 'Create and manage vocabularies.' + description: 'Create and manage vocabularies and their associations.' route_name: entity.open_vocabulary.collection - -entity.open_vocabulary_association.overview: - title: 'Vocabulary associations' - parent: system.admin_structure - description: 'Create and manage vocabulary associations.' - route_name: entity.open_vocabulary_association.collection diff --git a/open_vocabularies.links.task.yml b/open_vocabularies.links.task.yml new file mode 100644 index 0000000..7a3518b --- /dev/null +++ b/open_vocabularies.links.task.yml @@ -0,0 +1,9 @@ +entity.open_vocabulary.overview: + route_name: entity.open_vocabulary.collection + base_route: entity.open_vocabulary.collection + title: Vocabularies + +entity.open_vocabulary_association.collection: + route_name: entity.open_vocabulary_association.collection + base_route: entity.open_vocabulary.collection + title: 'Vocabulary associations' diff --git a/open_vocabularies.routing.yml b/open_vocabularies.routing.yml index dafd838..b2dcafd 100644 --- a/open_vocabularies.routing.yml +++ b/open_vocabularies.routing.yml @@ -2,7 +2,7 @@ entity.open_vocabulary.collection: path: '/admin/structure/open-vocabulary' defaults: _entity_list: 'open_vocabulary' - _title: 'Vocabulary configuration' + _title: 'Vocabularies' requirements: _permission: 'administer open vocabularies' @@ -34,7 +34,7 @@ entity.open_vocabulary_association.collection: path: '/admin/structure/open-vocabulary-association' defaults: _entity_list: 'open_vocabulary_association' - _title: 'Vocabulary Association configuration' + _title: 'Vocabulary associations' requirements: _permission: 'administer open vocabulary associations'