• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/Integration/UI/Grid/Property/PropertyGridProvider.php
  • Класс: BitrixIblockIntegrationUIGridPropertyPropertyGridProvider
  • Вызов: PropertyGridProvider::getPropertyTypeItems
private function getPropertyTypeItems(): array
{
	$result = Property::getBaseTypeList(true);

	$userTypes = CIBlockProperty::GetUserType();
	Collection::sortByColumn($userTypes, [
		'DESCRIPTION' => SORT_STRING,
	]);

	foreach ($userTypes as $type => $item)
	{
		$key = "{$item['PROPERTY_TYPE']}:{$type}";
		$result[$key] = $item['DESCRIPTION'];
	}

	return $result;
}