Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/Core/Grid/GridFactory.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Core/Grid/GridFactory.php'
file: src/Core/Grid/GridFactory.php
locations:
- 'front office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/Core/Grid/Definition/Factory/AbstractGridDefinitionFactory.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Core/Grid/Definition/Factory/AbstractGridDefinitionFactory.php'
file: src/Core/Grid/Definition/Factory/AbstractGridDefinitionFactory.php
locations:
- 'front office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/Core/Grid/Filter/GridFilterFormFactory.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Core/Grid/Filter/GridFilterFormFactory.php'
file: src/Core/Grid/Filter/GridFilterFormFactory.php
locations:
- 'front office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/Core/Grid/Presenter/GridPresenter.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Core/Grid/Presenter/GridPresenter.php'
file: src/Core/Grid/Presenter/GridPresenter.php
locations:
- 'front office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/Core/Grid/Data/Factory/DoctrineGridDataFactory.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Core/Grid/Data/Factory/DoctrineGridDataFactory.php'
file: src/Core/Grid/Data/Factory/DoctrineGridDataFactory.php
locations:
- 'front office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/Core/Form/IdentifiableObject/Builder/FormBuilder.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Core/Form/IdentifiableObject/Builder/FormBuilder.php'
file: src/Core/Form/IdentifiableObject/Builder/FormBuilder.php
locations:
- 'front office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/Core/Form/IdentifiableObject/Builder/FormBuilder.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Core/Form/IdentifiableObject/Builder/FormBuilder.php'
file: src/Core/Form/IdentifiableObject/Builder/FormBuilder.php
locations:
- 'front office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/Core/Form/IdentifiableObject/Builder/FormBuilder.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Core/Form/IdentifiableObject/Builder/FormBuilder.php'
file: src/Core/Form/IdentifiableObject/Builder/FormBuilder.php
locations:
- 'front office'
Expand Down
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The filename is wrong on this one. It should point to classes/controller/AdminController.php on 9.1.x branch

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Bridge/Helper/Listing/HelperBridge/HelperListBridge.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.2.x/src/PrestaShopBundle/Bridge/Helper/Listing/HelperBridge/HelperListBridge.php'
file: src/PrestaShopBundle/Bridge/Helper/Listing/HelperBridge/HelperListBridge.php
locations:
- 'front office'
Expand Down
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The filename is wrong on this one. It should point to classes/controller/AdminController.php on 9.1.x branch

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Bridge/Helper/Listing/HelperBridge/HelperListBridge.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.2.x/src/PrestaShopBundle/Bridge/Helper/Listing/HelperBridge/HelperListBridge.php'
file: src/PrestaShopBundle/Bridge/Helper/Listing/HelperBridge/HelperListBridge.php
locations:
- 'front office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle: 'On post-process in Admin Configure Shop Parameters Meta Controller'
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Controller/Admin/Configure/ShopParameters/MetaController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Controller/Admin/Configure/ShopParameters/MetaController.php'
file: src/PrestaShopBundle/Controller/Admin/Configure/ShopParameters/MetaController.php
locations:
- 'back office'
Expand All @@ -23,5 +23,5 @@ description: 'This hook is called on Admin Configure Shop Parameters Meta post-p
## Call of the Hook in the origin file

```php
dispatchHook('actionAdminAdminShopParametersMetaControllerPostProcessBefore', ['controller' => $this])
dispatchHookWithParameters('actionAdminAdminShopParametersMetaControllerPostProcessBefore', ['controller' => $this])
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/WebserviceController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/WebserviceController.php'
file: src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/WebserviceController.php
locations:
- 'back office'
Expand All @@ -23,5 +23,5 @@ description: ''
## Call of the Hook in the origin file

```php
dispatchHook('actionAdminAdminWebserviceControllerPostProcessBefore', ['controller' => $this])
dispatchHookWithParameters('actionAdminAdminWebserviceControllerPostProcessBefore', ['controller' => $this])
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/AdministrationController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/AdministrationController.php'
file: src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/AdministrationController.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle: 'On post-process in Admin Configure Advanced Parameters Administration Controller'
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/AdministrationController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/AdministrationController.php'
file: src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/AdministrationController.php
locations:
- 'back office'
Expand All @@ -23,5 +23,5 @@ description: 'This hook is called on Admin Configure Advanced Parameters Adminis
## Call of the Hook in the origin file

```php
dispatchHook('actionAdminAdministrationControllerPostProcessBefore', ['controller' => $this])
dispatchHookWithParameters('actionAdminAdministrationControllerPostProcessBefore', ['controller' => $this])
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php'
file: src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php
locations:
- 'back office'
Expand All @@ -23,7 +23,7 @@ description: ''
## Call of the Hook in the origin file

```php
dispatchHook(
dispatchHookWithParameters(
'actionAdminAdvancedParametersPerformanceControllerPostProcess' . $hookName . 'Before',
['controller' => $this]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle: 'On post-process in Admin Configure Advanced Parameters Performance Controller'
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php'
file: src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php
locations:
- 'back office'
Expand All @@ -23,5 +23,5 @@ description: 'This hook is called on Admin Configure Advanced Parameters Perform
## Call of the Hook in the origin file

```php
dispatchHook('actionAdminAdvancedParametersPerformanceControllerPostProcessBefore', ['controller' => $this])
dispatchHookWithParameters('actionAdminAdvancedParametersPerformanceControllerPostProcessBefore', ['controller' => $this])
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle: 'Modify back office breadcrumb'
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.0.x/src/PrestaShopBundle/Twig/Component/Toolbar.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Twig/Component/Toolbar.php'
file: src/PrestaShopBundle/Twig/Component/Toolbar.php
locations:
- 'back office'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle: 'Perform actions after admin controller initialization'
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand All @@ -28,5 +28,5 @@ Hook::exec(
[
'controller' => $this,
]
)
);
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle: 'Perform actions before admin controller initialization'
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/controller/AdminController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/classes/controller/AdminController.php'
file: classes/controller/AdminController.php
locations:
- 'back office'
Expand All @@ -28,5 +28,5 @@ Hook::exec(
[
'controller' => $this,
]
)
);
```
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
Title: actionAdminControllerSetMedia
hidden: true
hookTitle:
hookTitle: ''
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Bridge/AdminController/LegacyControllerBridge.php'
file: src/PrestaShopBundle/Bridge/AdminController/LegacyControllerBridge.php
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Twig/Component/HeadTag.php'
file: src/PrestaShopBundle/Twig/Component/HeadTag.php
locations:
- 'back office'
type: action
Expand All @@ -24,9 +24,15 @@ description: ''
## Call of the Hook in the origin file

```php
dispatchWithParameters('actionAdminControllerSetMedia')
$this->hookDispatcher->dispatchWithParameters('actionAdminControllerSetMedia');
```

## Example implementation
This hook has been implemented as an example in our
[modules examples repository - demoextendgrid](https://github.com/PrestaShop/example-modules/tree/master/demoextendgrid).

This hook has been implemented as an example in our [modules examples repository - demoextendgrid](https://github.com/PrestaShop/example-modules/tree/master/demoextendgrid).
{{% callout type="warning" %}}
In PrestaShop 9, this hook is dispatched from a Twig component.
The methods `addJqueryPlugin()` and `addJqueryUI()` may not be available
on migrated Symfony pages. Use `addJS()` and `addCSS()` instead.
{{% /callout %}}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
Title: actionAdminDuplicateAfter
hidden: true
hookTitle:
hookTitle: ''
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.0.x/src/Adapter/Product/Update/ProductDuplicator.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Adapter/Product/Update/ProductDuplicator.php'
file: src/Adapter/Product/Update/ProductDuplicator.php
locations:
- 'back office'
Expand All @@ -24,7 +24,7 @@ description: ''

```php
$this->hookDispatcher->dispatchWithParameters(
'actionAdminDuplicateAfter',
['id_product' => $oldProductId, 'id_product_new' => $newProductId]
);
'actionAdminDuplicateAfter',
['id_product' => $oldProductId, 'id_product_new' => $newProductId]
);
```
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
Title: actionAdminDuplicateBefore
hidden: true
hookTitle:
hookTitle: ''
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.0.x/src/Adapter/Product/Update/ProductDuplicator.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/Adapter/Product/Update/ProductDuplicator.php'
file: src/Adapter/Product/Update/ProductDuplicator.php
locations:
- 'back office'
Expand All @@ -24,7 +24,7 @@ description: ''

```php
$this->hookDispatcher->dispatchWithParameters(
'actionAdminDuplicateBefore',
['id_product' => $oldProductId]
);
'actionAdminDuplicateBefore',
['id_product' => $oldProductId]
);
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hidden: true
hookTitle:
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Controller/Admin/Improve/International/GeolocationController.php'
url: 'https://github.com/PrestaShop/PrestaShop/blob/9.1.x/src/PrestaShopBundle/Controller/Admin/Improve/International/GeolocationController.php'
file: src/PrestaShopBundle/Controller/Admin/Improve/International/GeolocationController.php
locations:
- 'back office'
Expand All @@ -23,7 +23,7 @@ description: ''
## Call of the Hook in the origin file

```php
dispatchHook(
dispatchHookWithParameters(
'actionAdminInternationalGeolocationControllerPostProcess' . $hookName . 'Before',
['controller' => $this]
)
Expand Down
Loading
Loading