diff --git a/core/modules/contact/contact.local_tasks.yml b/core/modules/contact/contact.local_tasks.yml new file mode 100644 index 0000000..91bb65d --- /dev/null +++ b/core/modules/contact/contact.local_tasks.yml @@ -0,0 +1,4 @@ +contact.category_edit: + title: 'Edit' + route_name: contact.category_edit + tab_root_id: contact.category_edit diff --git a/core/modules/contact/contact.module b/core/modules/contact/contact.module index 66a80ec..58e343e 100644 --- a/core/modules/contact/contact.module +++ b/core/modules/contact/contact.module @@ -67,10 +67,6 @@ function contact_menu() { 'title' => 'Edit contact category', 'route_name' => 'contact.category_edit', ); - $items['admin/structure/contact/manage/%contact_category/edit'] = array( - 'title' => 'Edit', - 'type' => MENU_DEFAULT_LOCAL_TASK, - ); $items['contact'] = array( 'title' => 'Contact',