Hook actionSubmitAccountBefore

Informations

Before customer account creation This hook is called before a customer account creation
Hook actionSubmitAccountBefore
Locations
FO
Type action
Origin core
Aliases [actionBeforeSubmitAccount]
Description This hook is called before a customer account creation

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

Located in

Origin File
core classes/checkout/CheckoutPersonalInformationStep.php
core controllers/front/RegistrationController.php

Call of the Hook in the origin file

$hookResult = array_reduce(
    Hook::exec('actionSubmitAccountBefore', [], null, true),
    function ($carry, $item) {
        return $carry && $item;
    },
    true
);