Commit e560115e authored by alexpott's avatar alexpott

Issue #2085907 by YesCT, Gábor Hojtsy: Ensure all configuration entities have...

Issue #2085907 by YesCT, Gábor Hojtsy: Ensure all configuration entities have an Edit/Configure tab by default.
parent 24e3c5d1
......@@ -115,7 +115,7 @@ function block_menu() {
$items['admin/structure/block/manage/%block/configure'] = array(
'title' => 'Configure block',
'type' => MENU_DEFAULT_LOCAL_TASK,
'context' => MENU_CONTEXT_INLINE,
'context' => MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE,
);
$items['admin/structure/block/add/%/%'] = array(
'title' => 'Place block',
......
......@@ -149,6 +149,11 @@ function filter_menu() {
'title arguments' => array(5),
'route_name' => 'filter.format_edit',
);
$items['admin/config/content/formats/manage/%/edit'] = array(
'title' => 'Configure',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
$items['admin/config/content/formats/manage/%/disable'] = array(
'title' => 'Disable text format',
'route_name' => 'filter.admin_disable',
......
......@@ -85,6 +85,11 @@ function language_menu() {
'title' => 'Edit language',
'route_name' => 'language.edit',
);
$items['admin/config/regional/language/edit/%language/edit'] = array(
'title' => 'Edit',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
// Language negotiation.
$items['admin/config/regional/language/detection'] = array(
......
......@@ -68,6 +68,11 @@ function picture_menu() {
'title' => 'Edit picture mapping',
'route_name' => 'picture.mapping_page_edit',
);
$items['admin/config/media/picturemapping/%picture_mapping/edit'] = array(
'title' => 'Edit',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
$items['admin/config/media/picturemapping/%picture_mapping/duplicate'] = array(
'title' => 'Duplicate picture mapping',
'route_name' => 'picture.mapping_page_duplicate',
......
......@@ -819,6 +819,11 @@ function system_menu() {
'description' => 'Allow users to edit a configured date format.',
'route_name' => 'system.date_format_edit',
);
$items['admin/config/regional/date-time/formats/manage/%/edit'] = array(
'title' => 'Edit',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
// Search settings.
$items['admin/config/search'] = array(
......
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