Loading src/Routing/RouteSubscriber.php +8 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,14 @@ class RouteSubscriber extends RouteSubscriberBase { )); $route->setOption('op', 'add terms'); } // admin/structure/taxonomy/manage/%vocabulary/reset if ($route = $collection->get('entity.taxonomy_vocabulary.reset_form')) { $route->setRequirements(array( '_custom_access' => '\taxonomy_access_fix_route_access', )); $route->setOption('op', 'reorder terms'); } } } Loading
src/Routing/RouteSubscriber.php +8 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,14 @@ class RouteSubscriber extends RouteSubscriberBase { )); $route->setOption('op', 'add terms'); } // admin/structure/taxonomy/manage/%vocabulary/reset if ($route = $collection->get('entity.taxonomy_vocabulary.reset_form')) { $route->setRequirements(array( '_custom_access' => '\taxonomy_access_fix_route_access', )); $route->setOption('op', 'reorder terms'); } } }