Hook additionalCustomerFormFields


Add fields to the Customer form:

This hook returns an array of FormFields to add them to the customer registration form

Hook locations:

  • front office

Hook type:

Located in:

This hook has an $array_return parameter set to true (module output will be set by name in an array, see explaination here).

Call of the Hook in the origin file

Hook::exec('additionalCustomerFormFields', ['fields' => &$format], null, true)