Customer registration form validation:
This hook is called to a module when it has sent additional fields with additionalCustomerFormFields
Hook locations:
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).
Hook::exec('validateCustomerFormFields', ['fields' => $formFields], $moduleId, true)