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 displayEmptyModuleCategoryExtraMessage

Informations

Extra message to display for an empty modules category This hook allows to add an extra message to display in the Module manager page when a category doesn't have any module
Hook displayEmptyModuleCategoryExtraMessage
Locations
BO
Type display
Origin core
Aliases

Located in

Origin File
core src/PrestaShopBundle/Resources/views/Admin/Module/Includes/grid_manage_empty.html.twig

Parameters details

    {
        'category_name': (string) categoryName
    }

Call of the Hook in the origin file

{{ renderhook('displayEmptyModuleCategoryExtraMessage', {'category_name': category.name}) }}