\pm_Hook_ActiveList

Abstract class for injection into active lists

Summary

Methods
Properties
Constants
getItemServices()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Methods

getItemServices()

getItemServices(string  $controller, string  $action, string  $itemId) : array

Retrieve the list of services for specific item

[
    [
        'title' => string,
        'icon' => string,
        'link' => string,
        'description' => string,
        'toolbar' => [ // optional
            [
                'title' => string,
                'link' => string,
            ],
            ...
        ],
        'messages' => [ // optional
            [
                'icon' => string, // optional
                'info' => string,
                'noEscape' => bool, // optional, default is false
            ],
            ...
        ],
    ],
]

Parameters

string $controller
string $action
string $itemId

Returns

array