• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/entity/source/config.php
  • Класс: BitrixLocationEntitySourceConfig
  • Вызов: Config::setValue
public function setValue(string $code, $value): bool
{
	foreach ($this->items as $item)
	{
		if ($item->getCode() !== $code)
		{
			continue;
		}

		$item->setValue($value);

		return true;
	}

	return false;
}