Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update list.md #820

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/dev/reference/dca/list.md
Original file line number Diff line number Diff line change
@@ -79,6 +79,7 @@ $GLOBALS['TL_DCA']['tl_example']['list']['global_operations'] = [
| icon | Icon (`string`) | Path and filename of the icon. |
| class | CSS class (`string`) | CSS class attribute of the button. |
| attributes | Additional attributes (`string`) | Additional attributes like event handler or style definitions. |
| showOnSelect | Show on select `bool` | ? Default `false` |
| [button_callback](../callbacks/#list-global-operations-operation-button) | Callback function (`array`) | Call a custom function instead of using the default button function. Please specify as `['Class', 'Method']`. |

{{< version "4.7" >}}
@@ -103,6 +104,7 @@ $GLOBALS['TL_DCA']['tl_example']['list']['operations'] = [
| href | URL fragment (`string`) | URL fragment that is added to the URI string when the button is clicked (e.g. `act=edit`). |
| icon | Icon (`string`) | Path and filename of the icon. |
| attributes | Additional attributes (`string`) | Additional attributes like event handler or style definitions. |
| showInHeader | Show in header `bool` | ? Default `false` |
| [button_callback](../callbacks/#list-operations-operation-button) | Callback function (`array`) | Call a custom function instead of using the default button function. Please specify as `['Class', 'Method']`. |

{{< version "4.7" >}}