Skip to content
Merged
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
Expand Up @@ -103,6 +103,7 @@ $GLOBALS['TL_DCA']['tl_example']['list']['global_operations'] = [
| [button_callback](../callbacks/#list-global-operations-operation-button) | Callback function (`array`) | Call a custom function to generate the button. Please specify as `['Class', 'Method']` or use service tagging. |
| route | Symfony Route Name (`string`) | The button will redirect to the given Symfony route. |
| prefetch | `boolean` | {{< version-tag "5.5" >}} Disables [Turbo prefetch][TurboPrefetch] when set to `false`. Defaults to `false` for operations that use `href`. |
| showOnSelect | `boolean` | Keeps the operation visible during "override all". |


{{% notice "info" %}}
Expand Down Expand Up @@ -142,6 +143,7 @@ $GLOBALS['TL_DCA']['tl_example']['list']['operations'] = [
| route | Symfony Route Name (`string`) | The button will redirect to the given Symfony route. |
| primary | true/false (`bool`) | {{< version-tag "5.5" >}} Shows the operation in the overview, instead of hiding it in the context menu. |
| prefetch | `boolean` | {{< version-tag "5.5" >}} Disables [Turbo prefetch][TurboPrefetch] when set to `false`. Defaults to `false` for operations that use `href`. |
| showInHeader | `boolean` | Shows the operation in the header of the parent view. |

{{% notice "tip" %}}
You do not have to define any settings for standard operations. Instead, you can give a list
Expand Down