summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries2013-11-17 23:13:30 (GMT)
committerDries2013-11-17 23:13:30 (GMT)
commit798850df257567e16755b706f8e0e0bd66c2e6a2 (patch)
treecd2f6daac4095d2e4d7e6031ea96aff48ee5afa8
parent65f606ef459c0b8bf8475ba3b0cfec4449756c77 (diff)
Issue #2137729 by aspilicious: Documentation for hook_local_tasks_alter() is incorrect.
-rw-r--r--core/modules/system/system.api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php
index de2c7e2..2bff21f 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']);
}