mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API Add FormRequestHandler::forTemplate() for backwards compatibility
This commit is contained in:
parent
bba86bb106
commit
a07a9bffc4
@ -507,4 +507,9 @@ class FormRequestHandler extends RequestHandler
|
|||||||
$this->form->loadMessagesFrom($result);
|
$this->form->loadMessagesFrom($result);
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function forTemplate()
|
||||||
|
{
|
||||||
|
return $this->form->forTemplate();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user