Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook actionAfterUpdate<FormName>FormHandler

Informations

Hook actionAfterUpdate<FormName>FormHandler
Locations
BO
Type action
Origin core
Aliases
Description

Located in

Origin File
core src/Core/Form/IdentifiableObject/Handler/FormHandler.php

Call of the Hook in the origin file

dispatchWithParameters('actionAfterUpdate' . Container::camelize($form->getName()) . 'FormHandler', [
            'id' => $id,
            'form_data' => &$data,
        ])

Example implementation

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

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

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

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