Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add actionTaxManager hook #1737

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions modules/concepts/hooks/list-of-hooks/actionTaxManager.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
Title: actionTaxManager
hidden: true
hookTitle: 'Tax Manager Factory'
files:
-
url: 'https://github.com/PrestaShop/PrestaShop/blob/8.0.x/classes/tax/TaxManagerFactory.php'
file: classes/tax/TaxManagerFactory.php
locations:
- 'front office'
type: action
hookAliases: taxManager
array_return: false
check_exceptions: false
chain: false
origin: core
description: 'This hook is launched by the Tax Manager Factory'

---

{{% hookDescriptor %}}

## Call of the Hook in the origin file

```php
$tax_manager = $module_instance->hookTaxManager([
'address' => $address,
'params' => $type,
]);
```
Loading