Document `objectAction` template plugin in template plugin list (#159)
authorMatthias Schmidt <gravatronics@live.com>
Tue, 20 Apr 2021 08:44:12 +0000 (10:44 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Apr 2021 08:44:12 +0000 (10:44 +0200)
For completeness, this template plugin is added here but due to its specificity, other places are referenced where detailed information can be found.

Close #149

docs/view/template-plugins.md

index a0e4d0ec4ffa1d564c7c72e5a3fb650bce54c564..df4a0ac91efd9acfa76925c448f026a8056a0100 100644 (file)
@@ -525,6 +525,12 @@ Additional attributes are passed to `LinkHandler::getLink()`.
 ```
 
 
+## <span class="label label-info">5.4+</span> `objectAction`
+
+`objectAction` generates action buttons to be used in combination with the [`WoltLabSuite/Core/Ui/Object/Action` API](../migration/wsc53/javascript.md#wcfactiondelete-and-wcfactiontoggle).
+For detailed information on its usage, we refer to the extensive documentation in the [`ObjectActionFunctionTemplatePlugin` class](https://github.com/WoltLab/WCF/blob/master/wcfsetup/install/files/lib/system/template/plugin/ObjectActionFunctionTemplatePlugin.class.php) itself.
+
+
 ## <span class="label label-info">3.0+</span> `page`
 
 `page` generates an internal link to a CMS page.