Commit 5e15b9be authored by alexpott's avatar alexpott

Issue #2531568 by willzyx: Remove obsolete hook_menu() from responsive_image module

parent 3cb62fe3
......@@ -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().
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment