Copied!

AttributeOptionsFormMapperInterface

AttributeOptionsFormMapperInterface.php : 13
Interface

Methods

publiccreateOptionsForm()

AttributeOptionsFormMapperInterface.php : 21

Adds a form field named $name exposing the attribute type options.

public createOptionsForm(string $name, FormBuilderInterface<string|int, mixed> $builder, array{type_identifier: string, language_code: string, translation_mode?: bool} $context) : void

Parameters

Name Type Default value Description
$name string - -
$builder FormBuilderInterface<string|int, mixed> - -
$context array{type_identifier: string, language_code: string, translation_mode?: bool} - -