AbstractBuilder
AbstractBuilder.php
:
19
Abstract
Base builder for extendable AdminUI menus.
Properties¶
$eventDispatcher
¶
AbstractBuilder.php
:
25
|
|
|
$factory
¶
AbstractBuilder.php
:
22
|
|
|
Methods¶
__construct()
¶
AbstractBuilder.php
:
31
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $factory | MenuItemFactoryInterface | - | - |
| $eventDispatcher | EventDispatcherInterface | - | - |
build()
¶
AbstractBuilder.php
:
72
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $options | array<string|int, mixed> | - | - |
Return values
ItemInterface
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()
¶
AbstractBuilder.php
:
83
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $options | array<string|int, mixed> | - | - |
Return values
ItemInterface
dispatchMenuEvent()
¶
AbstractBuilder.php
:
52
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $name | string | - | - |
| $event | Event | - | - |
getConfigureEventName()
¶
AbstractBuilder.php
:
81
|
|
|
Return values
string