You are here

service plugin.manager.menu.local_task in Drupal 8

Same name and namespace in other branches
  1. 9 core/core.services.yml \plugin.manager.menu.local_task

Class

Drupal\Core\Menu\LocalTaskManager
4 string references to plugin.manager.menu.local_task
LocalTasksBlock::create in core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
Creates an instance of the plugin.
menu_local_tasks in core/includes/menu.inc
Collects the local tasks (tabs) for the current route.
menu_primary_local_tasks in core/includes/menu.inc
Returns the rendered local tasks at the top level.
menu_secondary_local_tasks in core/includes/menu.inc
Returns the rendered local tasks at the second level.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Menu\LocalTaskManager
  2. arguments:
  3. - '@http_kernel.controller.argument_resolver'
  4. - '@request_stack'
  5. - '@current_route_match'
  6. - '@router.route_provider'
  7. - '@module_handler'
  8. - '@cache.discovery'
  9. - '@language_manager'
  10. - '@access_manager'
  11. - '@current_user'