Documentation

CatalogConfigurationForm extends ConfigFormBase
in package

FinalYes

Configure ILMS: Catalog settings for this site.

Table of Contents

Properties

$entityFieldManager  : EntityFieldManagerInterface
The entity field manager interface.
$routeMatch  : CurrentRouteMatch
The current route match interface.

Methods

__construct()  : mixed
{@inheritdoc}
buildForm()  : array<string|int, mixed>
{@inheritdoc}
create()  : mixed
{@inheritdoc}
getFormId()  : string
{@inheritdoc}
submitForm()  : void
Handles the form submission.
validateForm()  : void
{@inheritdoc}
getEditableConfigNames()  : array<string|int, mixed>
{@inheritdoc}

Properties

$entityFieldManager

The entity field manager interface.

protected EntityFieldManagerInterface $entityFieldManager

Methods

__construct()

{@inheritdoc}

public __construct(CurrentRouteMatch $route_match, EntityFieldManagerInterface $entity_field_manager) : mixed
Parameters
$route_match : CurrentRouteMatch
$entity_field_manager : EntityFieldManagerInterface

buildForm()

{@inheritdoc}

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

create()

{@inheritdoc}

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

submitForm()

Handles the form submission.

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

Saves the field values from the configuration form into active configuration.

Parameters
$form : array<string|int, mixed>
$form_state : FormStateInterface

validateForm()

{@inheritdoc}

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

getEditableConfigNames()

{@inheritdoc}

protected getEditableConfigNames() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results