AvailableActionsForExtensionEvent¶
New in version 10.3: The event was introduced to replace the Signal/Slot
\TYPO3\CMS\Extensionmanager\ViewHelper\ProcessAvailableActionsViewHelper::processActions
.
The PSR-14 event
\TYPO3\CMS\Extensionmanager\Event\AvailableActionsForExtensionEvent
is triggered when rendering an additional action (currently within
a Fluid ViewHelper) in the extension manager.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class TYPO3\CMS\Extensionmanager\Event\AvailableActionsForExtensionEvent¶
Event that is triggered when rendering an additional action (currently within a Fluid ViewHelper).
- getPackageKey()¶
- Return type
string
- getPackageData()¶
- Return type
array
- getActions()¶
- Return type
array
- addAction(string $actionKey, string $content)¶
- Parameters
$actionKey (
string
) -- the actionKey$content (
string
) -- the content
- setActions(array $actions)¶
- Parameters
$actions (
array
) -- the actions