European Week of Regions and Cities

UserInvitationController extends ControllerBase

Provide Invitation form functionalities.

Table of Contents

Properties

$database  : Connection
The database connection.
$entityTypeManager  : EntityTypeManagerInterface
The entity type manager.

Methods

__construct()  : mixed
Constructor.
create()  : mixed
Create container.
invite()  : mixed
Ajax function called to validate passed fields data at first.
getInvitation()  : mixed
Fetch and return invitation object by email.

Properties

Methods

__construct()

Constructor.

public __construct(EntityTypeManagerInterface $entity_type_manager, Connection $database) : mixed
Parameters
$entity_type_manager : EntityTypeManagerInterface
$database : Connection

create()

Create container.

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

invite()

Ajax function called to validate passed fields data at first.

public invite(Request $request) : mixed

And persist data.

Parameters
$request : Request

getInvitation()

Fetch and return invitation object by email.

private getInvitation(mixed $email, mixed $sessionId) : mixed
Parameters
$email : mixed
$sessionId : mixed

        
On this page

Search results