Hook displayAdminGridTableBefore
Display before Grid table
This hook adds new blocks before Grid component table
| Hook |
displayAdminGridTableBefore |
| Locations |
BO |
| Type |
display |
| Origin |
core |
| Aliases |
[displayAdminListBefore] |
| Description |
This hook adds new blocks before Grid component table |
Located in
Parameters details
<?php
array(
'grid' = Grid $grid,
'controller' => (string) $controller
'legacy_controller' => (string) $legacyController
);
Call of the Hook in the origin file
{{ renderhook('displayAdminGridTableBefore', {
grid: grid,
legacy_controller: app.request.attributes.get('_legacy_controller'),
controller: app.request.attributes.get('_controller'),
})
}}