PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 6, 2024
Let's talk code, commerce and open source.

Hook action<FormName>FormDataProviderData

Informations

Hook action<FormName>FormDataProviderData
Locations
FO
BO
Type action
Origin core
Aliases

Located in

Origin File
core src/Core/Form/IdentifiableObject/Builder/FormBuilder.php

Call of the Hook in the origin file

$this->hookDispatcher->dispatchWithParameters(
    'action' . $this->camelize($this->getFormName()) . 'FormDataProviderData',
    [
        'data' => &$data,
        'id' => $id,
        'options' => &$options,
    ]
);

Example implementation

This hook has been implemented as an example in our example-modules repository.