Merge pull request #391 from creative-commoners/pulls/5/protect-hooks

API Set extension hook implementation visibility to protected
This commit is contained in:
Guy Sartorelli 2024-05-21 16:09:29 +12:00 committed by GitHub
commit 4e4f4725a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ class GridFieldDetailFormItemRequestExtension extends Extension
/**
* @param FieldList $actions
*/
public function updateFormActions(FieldList &$actions)
protected function updateFormActions(FieldList &$actions)
{
$grid = $this->owner->getGridField();
$gridFieldConfig = $grid->getConfig();