From 5e15b9be293b36cacd4f04c7706989e7c052bbb3 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Tue, 14 Jul 2015 10:02:21 +0100 Subject: [PATCH] Issue #2531568 by willzyx: Remove obsolete hook_menu() from responsive_image module --- .../responsive_image/responsive_image.module | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/core/modules/responsive_image/responsive_image.module b/core/modules/responsive_image/responsive_image.module index 925fe3c7e4fb..bae2aecc8117 100644 --- a/core/modules/responsive_image/responsive_image.module +++ b/core/modules/responsive_image/responsive_image.module @@ -43,30 +43,6 @@ function responsive_image_help($route_name, RouteMatchInterface $route_match) { } } -/** - * Implements hook_menu(). - */ -function responsive_image_menu() { - $items = array(); - - $items['admin/config/media/responsive-image-style'] = array( - 'title' => 'Responsive image styles', - 'description' => 'Manage responsive image styles', - 'weight' => 10, - 'route_name' => 'entity.responsive_image_style.collection', - ); - $items['admin/config/media/responsive-image-style/%responsive_image_style'] = array( - 'title' => 'Edit responsive image style', - 'route_name' => 'entity.responsive_image_style.edit_form', - ); - $items['admin/config/media/responsive-image-style/%responsive_image_style/duplicate'] = array( - 'title' => 'Duplicate responsive image style', - 'route_name' => 'entity.responsive_image_style.duplicate_form', - ); - - return $items; -} - /** * Implements hook_theme(). */ -- GitLab