mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
$allowed_actions for GridField subclass
Taken from https://github.com/silverstripe/silverstripe-subsites/pull/94, thanks @frankmullenger
This commit is contained in:
parent
b17e49fcd0
commit
ac507ddc7b
@ -4,6 +4,11 @@ class GridFieldSubsiteDetailForm extends GridFieldDetailForm {
|
||||
}
|
||||
|
||||
class GridFieldSubsiteDetailForm_ItemRequest extends GridFieldDetailForm_ItemRequest {
|
||||
|
||||
private static $allowed_actions = array(
|
||||
'ItemEditForm',
|
||||
);
|
||||
|
||||
/**
|
||||
* Builds an item edit form. The arguments to getCMSFields() are the popupController and
|
||||
* popupFormName, however this is an experimental API and may change.
|
||||
|
Loading…
x
Reference in New Issue
Block a user