Commit 6f7b1968 authored by webchick's avatar webchick
Browse files

Issue #2087007 by pwolanin: Fixed The default weight for a local task should be NULL not 0.

parent 5bf7fec3
......@@ -41,12 +41,12 @@ class LocalTaskManager extends DefaultPluginManager {
// The plugin ID of the parent tab (or NULL for the top-level tab).
'tab_parent_id' => NULL,
// The weight of the tab.
'weight' => 0,
'weight' => NULL,
// The default link options.
'options' => array(),
// Default class for local task implementations.
'class' => 'Drupal\Core\Menu\LocalTaskDefault',
// The plugin id. Set by the plugin system and should never be provided in YAML.
// The plugin id. Set by the plugin system based on the top-level YAML key.
'id' => '',
);
......
......@@ -6,7 +6,6 @@ menu_local_task_test_tasks_edit:
route_name: menu_local_task_test_tasks_edit
title: Edit
tab_root_id: menu_local_task_test_tasks_view
weight: 10
menu_local_task_test_tasks_settings:
route_name: menu_local_task_test_tasks_settings
title: Settings
......
Supports Markdown
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