Menu
Table of Contents
Methods
-
__construct()
: mixed
-
applyPreset()
: mixed
-
getDefaultSiteId()
: string
-
getHiddenItems()
: array<string|int, mixed>
-
getVisibleItems()
: array<string|int, mixed>
__construct()
public
__construct(array<string|int, mixed> $menuItemsData, User $user) : mixed
Parameters
-
$menuItemsData
: array<string|int, mixed>
-
-
$user
: User
-
applyPreset()
public
applyPreset(PresetInterface $preset) : mixed
Parameters
-
$preset
: PresetInterface
-
getDefaultSiteId()
public
static getDefaultSiteId() : string
getHiddenItems()
public
getHiddenItems() : array<string|int, mixed>
Return values
array<string|int, mixed>
getVisibleItems()
public
getVisibleItems() : array<string|int, mixed>
Return values
array<string|int, mixed>