• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/google/pushmanager.php
  • Класс: BitrixCalendarSyncGooglePushManager
  • Вызов: PushManager::isVirtualCalendar
private function isVirtualCalendar(SectionConnection $link): bool
{
	return (strpos($link->getVendorSectionId(), 'holiday.calendar.google.com'))
		|| (strpos($link->getVendorSectionId(), 'group.v.calendar.google.com'))
		|| (strpos($link->getVendorSectionId(), '@virtual'))
		|| (strpos($link->getSection()->getExternalType(), '_readonly'))
		|| (strpos($link->getSection()->getExternalType(), '_freebusy'))
		;
}