• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/attribute/fieldattributemanager.php
  • Класс: Bitrix\Crm\Attribute\FieldAttributeManager
  • Вызов: FieldAttributeManager::isEntitySupported
static function isEntitySupported(int $entityTypeId): bool
{
	$factory = Crm\Service\Container::getInstance()->getFactory($entityTypeId);
	if($factory)
	{
		return $factory->isStagesEnabled();
	}

	return true;
}