* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\Module\PsxDesign\Traits\Hooks; if (!defined('_PS_VERSION_')) { exit; } use PrestaShop\Module\PsxDesign\Service\TabsModifierService; trait UseActionObjectTabUpdateAfter { /** * @param array $params * * @return void */ public function hookActionObjectTabUpdateAfter(array $params): void { $tabsModifier = new TabsModifierService($this->getTranslator()); $tabsModifier->modifyTabs($params); } }