SessionController
extends ControllerBase
in package
Dashboard Controller class.
Table of Contents
Properties
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $moduleHandler : ModuleHandlerInterface
- The entity ModuleHandler.
- $sessionHelper : Session
- Session helper.
Methods
- __construct() : mixed
- Constructor.
- create() : mixed
- Create container.
- updateBuildingFilterAndField() : mixed
- Set building field on session in order to simplify and boost filtering.
Properties
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$moduleHandler
The entity ModuleHandler.
protected
ModuleHandlerInterface
$moduleHandler
$sessionHelper
Session helper.
protected
Session
$sessionHelper
Methods
__construct()
Constructor.
public
__construct(ModuleHandlerInterface $moduleHandler, EntityTypeManagerInterface $entity_type_manager, Session $sessionHelper) : mixed
Parameters
- $moduleHandler : ModuleHandlerInterface
- $entity_type_manager : EntityTypeManagerInterface
- $sessionHelper : Session
create()
Create container.
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
updateBuildingFilterAndField()
Set building field on session in order to simplify and boost filtering.
public
updateBuildingFilterAndField() : mixed