European Week of Regions and Cities

PersonPageController extends ControllerBase

Provide person details page.

Table of Contents

Properties

$configFactory  : ConfigFactory
Configuration Factory.
$entityTypeManager  : EntityTypeManagerInterface
The entity type manager.
$moduleHandler  : ModuleHandlerInterface
The entity ModuleHandler.
$sessionHelper  : Session
Session helper.
$userHelper  : User
User helper.
$utilsHelper  : Utils
Utils helper.

Methods

__construct()  : mixed
Constructs a User object.
create()  : mixed
Create container.
getPersonDetailsPage()  : mixed
Person details page.

Properties

$entityTypeManager

The entity type manager.

protected EntityTypeManagerInterface $entityTypeManager

$moduleHandler

The entity ModuleHandler.

protected ModuleHandlerInterface $moduleHandler

Methods

__construct()

Constructs a User object.

public __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $moduleHandler, User $userHelper, Session $sessionHelper, Utils $utilsHelper, ConfigFactory $configFactory) : mixed
Parameters
$entity_type_manager : EntityTypeManagerInterface
$moduleHandler : ModuleHandlerInterface
$userHelper : User
$sessionHelper : Session
$utilsHelper : Utils
$configFactory : ConfigFactory

create()

Create container.

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

getPersonDetailsPage()

Person details page.

public getPersonDetailsPage(Request $request) : mixed
Parameters
$request : Request

        
On this page

Search results