From 798850df257567e16755b706f8e0e0bd66c2e6a2 Mon Sep 17 00:00:00 2001 From: Dries <dries@buytaert.net> Date: Sun, 17 Nov 2013 18:13:30 -0500 Subject: [PATCH] Issue #2137729 by aspilicious: Documentation for hook_local_tasks_alter() is incorrect. --- core/modules/system/system.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php index de2c7e2a7498..2bff21fd5604 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -669,7 +669,7 @@ function hook_menu_local_actions_alter(&$local_actions) { * @see \Drupal\Core\Menu\LocalTaskInterface * @see \Drupal\Core\Menu\LocalTaskManager */ -function hook_local_task_alter(&$local_tasks) { +function hook_local_tasks_alter(&$local_tasks) { // Remove a specified local task plugin. unset($local_tasks['example_plugin_id']); } -- GitLab