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}) }}