European Week of Regions and Cities

MiddleMenuController extends ControllerBase

Provide a menu for Middle office pages.

Table of Contents

Properties

$entityTypeManager  : EntityTypeManagerInterface
The entity type manager.
$moduleHandler  : ModuleHandlerInterface
The entity ModuleHandler.
$path  : CurrentPathStack
Host the current page path.
$twig  : TwigEnvironment
The twig environment container.

Methods

__construct()  : mixed
Constructor.
buildMenu()  : mixed
Render middle-front menu.
create()  : mixed
Create container.

Properties

$entityTypeManager

The entity type manager.

protected EntityTypeManagerInterface $entityTypeManager

$moduleHandler

The entity ModuleHandler.

protected ModuleHandlerInterface $moduleHandler

Methods

__construct()

Constructor.

public __construct(TwigEnvironment $twig, ModuleHandlerInterface $moduleHandler, EntityTypeManagerInterface $entityTypeManager, CurrentPathStack $pathStack) : mixed
Parameters
$twig : TwigEnvironment
$moduleHandler : ModuleHandlerInterface
$entityTypeManager : EntityTypeManagerInterface
$pathStack : CurrentPathStack

create()

Create container.

public static create(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

        
On this page

Search results