Skip to content

Commit

Permalink
[5.x] Fix actions in assets, forms, and form submissions (#10132)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Varga <[email protected]>
  • Loading branch information
duncanmcclean and jasonvarga authored May 21, 2024
1 parent e0ac1d8 commit cc7d215
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Http/Controllers/CP/ActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,8 @@ public function bulkActions(Request $request)

abstract protected function getSelectedItems($items, $context);

abstract protected function getItemData($item, $context): array;
protected function getItemData($item, $context): array
{
return [];
}
}

0 comments on commit cc7d215

Please sign in to comment.