FormFactory
interface FormFactory (View source)
A service which can generate a form
Constants
DEFAULT_NAME |
Default form name. |
Methods
public
getForm(RequestHandler $controller = null, string $name = self::DEFAULT_NAME, array $context = [])
Generates the form
Details
Form
getForm(RequestHandler $controller = null, string $name = self::DEFAULT_NAME, array $context = [])
Generates the form
array
getRequiredContext()
Return list of mandatory context keys