public function MenuTokenSupportedTokensController::__construct in Menu Token 8
Same name and namespace in other branches
- 9.1.x src/Controller/MenuTokenSupportedTokensController.php \Drupal\menu_token\Controller\MenuTokenSupportedTokensController::__construct()
MenuTokenSupportedTokensController constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Configuration factory.
\Drupal\token\TreeBuilderInterface $treeBuilder: Tree builder service.
\Drupal\Core\Render\RendererInterface $renderer: Renderer.
File
- src/
Controller/ MenuTokenSupportedTokensController.php, line 32
Class
- MenuTokenSupportedTokensController
- Class MenuTokenSupportedTokensController.
Namespace
Drupal\menu_token\ControllerCode
public function __construct(ConfigFactoryInterface $configFactory, TreeBuilderInterface $treeBuilder, RendererInterface $renderer) {
$this->configFactory = $configFactory;
$this->treeBuilder = $treeBuilder;
$this->renderer = $renderer;
}