EntityCounterFactory::getEnabledFactories

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. EntityCounterFactory
  4. getEnabledFactories
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/counter/entitycounterfactory.php
  • Класс: Bitrix\Crm\Counter\EntityCounterFactory
  • Вызов: EntityCounterFactory::getEnabledFactories
static function getEnabledFactories(): array
{
	return array_filter(
		Container::getInstance()->getTypesMap()->getFactories(),
		fn (Factory $factory) => $factory->isCountersEnabled()
	);
}

Добавить комментарий