पेज · Laravilt
Bulk Actions
Run actions on the selected rows of a table.
Selecting rows reveals bulk actions. Register them with bulkActions(), or with toolbarActions() wrapped in a BulkActionGroup, which is what the resource generator produces.
php
Custom bulk action
Name the first closure parameter $records to receive the selected models as a collection, or $ids to receive only their keys. A $data parameter receives the modal form values.
php
Bulk actions require confirmation by default. See BulkAction and the other bulk action types.