* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ declare(strict_types=1); namespace PrestaShop\Module\PsEditionBasic\Traits\Hooks; 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::PS_EDITION_BASIC_MODULE_TABS_LANG_UPDATE_REQUIRED, '1'); } }