MenuItemFactoryInterface
MenuItemFactoryInterface.php
:
13
Extends
FactoryInterface
Methods¶
createLocationMenuItem() ¶
MenuItemFactoryInterface.php
:
22
Creates Location menu item only when user has content/read permission.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$name | string | - | - |
$locationId | int | - | - |
$options | array<string|int, mixed> | [] | - |
Return values
ItemInterface|null