Actions API Reference
Action is a serializable row and bulk action definition.
| Method | Purpose |
|---|---|
make() / create() |
Construct an action. |
key() |
Override the serialized key. |
url() |
Configure link metadata. |
handle() |
Configure backend action execution. |
authorize() |
Set authorization state. |
disabled() |
Set disabled state. |
hidden() |
Set hidden state. |
disabledAndHidden() |
Apply both states. |
asBulkAction() |
Enable row and bulk usage. |
onlyAsBulkAction() |
Enable only bulk usage. |
before() / after() |
Lifecycle callbacks. |
success() / error() |
Completion callbacks. |
confirm() |
Confirmation metadata. |
icon() / tooltip() |
Display metadata. |
showLabel() / hideLabel() |
Label visibility. |
variant() / variantColor() |
Presentation metadata. |
asInfoButton() / asSuccessButton() / asDangerButton() |
Color helpers. |
class() |
Class metadata. |
meta() / data() |
Additional serialized metadata. |