Warning: You are browsing the documentation for PrestaShop 1.7, 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
PrestaShop\PrestaShop\Core\Domain\Hook\Command\UpdateHookStatusCommand
Class UpdateHookStatusCommand update a given hook status
| Command details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\Hook\CommandHandler\UpdateHookStatusCommandHandler Implements:
|
| Return type | void |
PrestaShop\PrestaShop\Core\Domain\Hook\Query\GetHookStatus
Get current status (enabled/disabled) for a given hook
| Query details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\Hook\QueryHandler\GetHookStatusHandler Implements:
|
| Return type | bool |