LocalTaskManager::$controllerResolver

A controller resolver object.

Type: \Symfony\Component\HttpKernel\Controller\ControllerResolverInterface

Deprecated

Using the 'controller_resolver' service as the first argument is deprecated, use the 'http_kernel.controller.argument_resolver' instead. If your subclass requires the 'controller_resolver' service add it as an additional argument.

See also

https://www.drupal.org/node/2959408

File

core/lib/Drupal/Core/Menu/LocalTaskManager.php, line 74

Class

LocalTaskManager
Provides the default local task manager using YML as primary definition.

Namespace

Drupal\Core\Menu

Code

protected $controllerResolver;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.