Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

Hook displayFeatureForm

Informations

Add fields to the form 'feature' This hook adds fields to the form 'feature'
Hook displayFeatureForm
Locations
BO
Type display
Origin core
Aliases [featureForm]
Description This hook adds fields to the form 'feature'

Located in

Origin File
core src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Features/Blocks/form.html.twig

Call of the Hook in the origin file

{{ renderhook('displayFeatureForm', {'id_feature': featureId}) }}