SilverStripe\CMS\Controllers\CMSPageHistoryController::getEditForm
Returns the read only version of the edit form. Detaches all {@link FormAction} instances attached since only action relates to revert.
Permission checking is done at the level.
Signature
public function getEditForm([int
$id = NULL,
[array
$fields = NULL,
[int
$versionID = NULL,
[int
$compareID = NULL]]]] )
Parameters
$id
— int- ID of the record to show
$fields
— array- optional
$versionID
— int$compareID
— int- Compare mode
Returns
- Form
Parent Implementation
Line | Task |
---|---|
200 | move to the SilverStripeNavigator structure so the new preview can pick it up. |