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 displayAdminGridTableAfter

Informations

Display after Grid table This hook adds new blocks after Grid component table
Hook displayAdminGridTableAfter
Locations
BO
Type display
Origin core
Aliases [displayAdminListAfter]
Description This hook adds new blocks after Grid component table

Located in

Origin File
core src/PrestaShopBundle/Resources/views/Admin/Common/Grid/Blocks/table.html.twig

Parameters details

    <?php
    array(
      'grid' = Grid $grid,
      'controller' => (string) $controller
      'legacy_controller' => (string) $legacyController
    );

Call of the Hook in the origin file

{{ renderhook('displayAdminGridTableAfter', {
      'grid': grid,
      'legacy_controller': app.request.attributes.get('_legacy_controller'),
      'controller': app.request.attributes.get('_controller')
    })
}}