• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/provider/base.php
  • Класс: Bitrix\Crm\Activity\Provider\Base
  • Вызов: Base::isTypeValid
static function isTypeValid(string $typeId): bool
{
	$availableTypes = static::getTypes();
	foreach ($availableTypes as $type)
	{
		if ($type['PROVIDER_TYPE_ID'] === $typeId)
		{
			return true;
		}
	}

	return false;
}