• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/managers/synchronization.php
  • Класс: BitrixCalendarSyncManagersSynchronization
  • Вызов: Synchronization::checkExclude
private function checkExclude(
	FactoryInterface $factory,
	?Context $context,
	string $string = ''
): bool
{
	if (isset($context->sync)
		&& !empty($context->sync['originalFrom'])
		&& $context->sync['originalFrom'] === $this->getVendorCode($factory)
	)
	{
		return true;
	}

	return false;
}