* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\FacetedSearch\Hook; class Configuration extends AbstractHook { const AVAILABLE_HOOKS = [ 'actionProductPreferencesPageStockSave', ]; /** * After save of product stock preferences form * * @param array $params */ public function actionProductPreferencesPageStockSave(array $params) { $this->module->invalidateLayeredFilterBlockCache(); } }