European Week of Regions and Cities

MapConfigurationForm extends ConfigFormBase

Defines a form that configures forms module settings.

Table of Contents

Properties

$state  : State
The Drupal State service.

Methods

__construct()  : mixed
MapConfigurationForm constructor.
buildForm()  : mixed
{@inheritdoc}
create()  : mixed
Create state.
dataUpdate()  : mixed
Ajax callback to force data update on next cron.
getFormId()  : mixed
{@inheritdoc}
submitForm()  : mixed
{@inheritdoc}
getEditableConfigNames()  : mixed
{@inheritdoc}

Properties

Methods

__construct()

MapConfigurationForm constructor.

public __construct(State $state) : mixed
Parameters
$state : State

Drupal state.

buildForm()

{@inheritdoc}

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

create()

Create state.

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

dataUpdate()

Ajax callback to force data update on next cron.

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

(PHPMD.UnusedFormalParameter)

submitForm()

{@inheritdoc}

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

        
On this page

Search results