UpdateFormContextMenuBuilder
UpdateFormContextMenuBuilder.php
:
16
Extends AbstractFormContextMenuBuilder
Implements
TranslationContainerInterface
Builds menu with "Update" and "Cancel" items.
Properties¶
$eventDispatcher¶
AbstractBuilder.php
:
25
|
|
$factory¶
AbstractBuilder.php
:
22
|
|
Methods¶
__construct() ¶
AbstractFormContextMenuBuilder.php
:
19
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$factory | MenuItemFactoryInterface | - | - |
$eventDispatcher | EventDispatcherInterface | - | - |
$formName | string | - | - |
build() ¶
AbstractBuilder.php
:
72
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$options | array<string|int, mixed> | - | - |
Return values
ItemInterface
getTranslationMessages() ¶
AbstractFormContextMenuBuilder.php
:
98
|
|
Return values
array<string|int, Message>
createConfigureMenuEvent() ¶
AbstractBuilder.php
:
62
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$menu | ItemInterface | - | - |
$options | array<string|int, mixed> | [] | - |
Return values
ConfigureMenuEvent
createMenuItem() ¶
AbstractBuilder.php
:
43
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | string | - | - |
$options | array<string|int, mixed> | [] | - |
Return values
ItemInterface
createStructure() ¶
AbstractFormContextMenuBuilder.php
:
51
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$options | array<string, mixed> | - | - |
Return values
ItemInterface
dispatchMenuEvent() ¶
AbstractBuilder.php
:
52
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$name | string | - | - |
$event | Event | - | - |
getConfigureEventName() ¶
AbstractFormContextMenuBuilder.php
:
39
|
|
Return values
string
getSidebarActionMessage() ¶
UpdateFormContextMenuBuilder.php
:
23
|
|
Return values
string
getSidebarType() ¶
UpdateFormContextMenuBuilder.php
:
18
|
|
Return values
string
should be lowercase alphanumeric + underscore (a-zA-Z0-9_) string