ModifyNewRecordCreationLinksEvent
FinalYes
Event to modify the grouped links as result of NewRecordController
Structure (array):
"content" => [ "title" => "Content", "icon" => "<img...>" "items" => [ "sys_note" => [ [ "url" => "...", "icon" => "...", "label" => "...", ], ], "sys_file_collection" => [ [ "icon" => "...", "label" => "...", "types" => [ "static" => [ 'url' => "...", 'icon' => "...", 'label' => "...", ], "folder" => [ 'url' => "...", 'icon' => "...", 'label' => "...", ], ], ], ], ], ], "system" => [ "title" => "System Records", "icon" => "<img...>" "items" => [ "sys_template" => [ [ "url" => "...", "icon" => "...", "label" => "...", ], ], "backend_layout" => [ [ "url" => "...", "icon" => "...", "label" => "...", ], ], ], ],
Table of Contents
Properties
- $groupedCreationLinks : array<string|int, mixed>
- $pageId : int
- $pageTS : array<string|int, mixed>
- $request : ServerRequestInterface
Methods
- __construct() : mixed
Properties
$groupedCreationLinks
public
array<string|int, mixed>
$groupedCreationLinks
$pageId read-only
public
int
$pageId
$pageTS read-only
public
array<string|int, mixed>
$pageTS
$request read-only
public
ServerRequestInterface
$request
Methods
__construct()
public
__construct(array<string|int, mixed> $groupedCreationLinks, array<string|int, mixed> $pageTS, int $pageId, ServerRequestInterface $request) : mixed
Parameters
- $groupedCreationLinks : array<string|int, mixed>
- $pageTS : array<string|int, mixed>
- $pageId : int
- $request : ServerRequestInterface