European Week of Regions and Cities

UserAnalyticsForm extends FormBase

Statistics form implementing statistics view ajax control.

Table of Contents

Properties

$entityTypeManager  : EntityTypeManagerInterface
Entity type manager.
$formBuilder  : FormBuilderInterface
Form Builder.
$menuHelper  : MenuHelper
Host menuHelper service.
$userAnalytics  : GetUserAnalytics
Get User Analytics.
$userHelper  : UserHelper
Helper functions.

Methods

__construct()  : mixed
StatisticsPage constructor.
buildForm()  : mixed
{@inheritdoc}
create()  : mixed
Create container.
getFormId()  : mixed
{@inheritdoc}
submitForm()  : mixed
{@inheritdoc}
updateTable()  : mixed
Ajax callback to update the table based on the selected option.
validateForm()  : mixed
{@inheritdoc}

Properties

$entityTypeManager

Entity type manager.

protected EntityTypeManagerInterface $entityTypeManager

Methods

buildForm()

{@inheritdoc}

public buildForm(array<string|int, mixed> $form, FormStateInterface $form_state) : mixed
Parameters
$form : array<string|int, mixed>
$form_state : FormStateInterface

create()

Create container.

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

submitForm()

{@inheritdoc}

public submitForm(array<string|int, mixed> &$form, FormStateInterface $form_state) : mixed
Parameters
$form : array<string|int, mixed>
$form_state : FormStateInterface

updateTable()

Ajax callback to update the table based on the selected option.

public updateTable(array<string|int, mixed> &$form, FormStateInterface $form_state) : mixed
Parameters
$form : array<string|int, mixed>
$form_state : FormStateInterface
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

validateForm()

{@inheritdoc}

public validateForm(array<string|int, mixed> &$form, FormStateInterface $form_state) : mixed
Parameters
$form : array<string|int, mixed>
$form_state : FormStateInterface

        
On this page

Search results