MapConfigurationForm
extends ConfigFormBase
in package
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
$state
The Drupal State service.
protected
State
$state
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
getFormId()
{@inheritdoc}
public
getFormId() : mixed
submitForm()
{@inheritdoc}
public
submitForm(array<string|int, mixed> &$form, FormStateInterface $form_state) : mixed
Parameters
- $form : array<string|int, mixed>
- $form_state : FormStateInterface
getEditableConfigNames()
{@inheritdoc}
protected
getEditableConfigNames() : mixed