Commit 798850df authored by Dries's avatar Dries

Issue #2137729 by aspilicious: Documentation for hook_local_tasks_alter() is incorrect.

parent 65f606ef
......@@ -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']);
}
......
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