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 ( )
-
- returntype
-
string
- getPackageData ( )
-
- returntype
-
array
- getActions ( )
-
- returntype
-
array
- addAction ( string $actionKey, string $content)
-
- param string $actionKey
-
the actionKey
- param string $content
-
the content
- setActions ( array $actions)
-
- param array $actions
-
the actions