mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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);
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function forTemplate()
|
||||
{
|
||||
return $this->form->forTemplate();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user