SilverStripe\CMS\Controllers\CMSMain::revert
Reverts a page by publishing it to live.
Use if you want to restore a page which was deleted from draft without publishing.
Signature
public function revert(array
$data,
Form
$form )
Parameters
$data
— array$form
— object
Returns
- HTTPResponse