Mage2\Page\Controllers\Admin\PageController::destroy PHP Method

destroy() public method

Remove the specified page from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response
    public function destroy($id)
    {
        Page::destroy($id);
        return redirect()->route('admin.page.index');
    }