mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
ENHANCEMENT Allow extension of LeftAndMain->getEditForm() (and subclasses) through a new updateEditForm() hook (see r98736 for additions to AssetAdmin and CMSMain) (from r98737)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106112 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0ea8977cdc
commit
7e0daa8990
@ -76,6 +76,8 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
|||||||
if($permissionField) $permissionField->setHiddenPermissions(self::$hidden_permissions);
|
if($permissionField) $permissionField->setHiddenPermissions(self::$hidden_permissions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->extend('updateEditForm', $form);
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -129,6 +131,8 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
|||||||
$actions
|
$actions
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->extend('updateEditForm', $form);
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user