* @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\PrestaShop\Adapter\Configuration; trait UseActionObjectLanguageAddAfter { /** * @return void */ public function hookActionObjectLanguageAddAfter(): void { // If new country is added we want to update module tabs. /** @var Configuration $configuration */ $configuration = $this->get('prestashop.adapter.legacy.configuration'); $configuration->set(self::PSXDESIGN_MODULE_TABS_LANG_UPDATE_REQUIRED, '1'); } }