AvailableActionsForExtensionEvent¶
New in version 10.3.
Event that is triggered when rendering an additional action (currently within a Fluid ViewHelper) in the Extension Manager.:
public function getActions(): array
{
return $this->actions;
}
public function addAction(string $actionKey, string $content): void
{
$this->actions[$actionKey] = $content;
}
public function setActions(array $actions): void
{
$this->actions = $actions;
}
API¶
- getPackageKey()
| ReturnType: string |
- getPackageData()
| ReturnType: string |
- getActions()
| ReturnType: array |
- addAction()
| ReturnType: void | Arguments:
$actionKey
: Unique key for the action;$content
: (HTML) content to displayAdd an action to display.
- setActions()
| ReturnType: void | Arguments:
$ctions
: Array of actions (key = identifier, value = content)