• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/recyclebin/dynamic.php
  • Класс: Bitrix\Crm\Integration\Recyclebin\Dynamic
  • Вызов: Dynamic::prepareSurveyInfo
static function prepareSurveyInfo(): array
{
	$typesMap = Container::getInstance()->getDynamicTypesMap()->load([
		'isLoadStages' => false
	]);

	$data = [];
	foreach($typesMap->getTypes() as $type)
	{
		$data[static::getEntityName($type->getEntityTypeId())] = [
			'NAME' => $type->getTitle(),
			'HANDLER' => __CLASS__,
		];
	}

	return array_merge(self::getSurveyInfoFromRecyclebin(), $data);
}