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

	// prepare property type
	if (isset($result['PROPERTY_TYPE']))
	{
		$type = $row['PROPERTY_TYPE'] ?? null;
		if ($type)
		{
			$userType = $row['USER_TYPE'] ?? null;
			if ($userType)
			{
				$type .= ':' . $userType;
			}

			$typeNames = $this->getPropertyTypeItems();
			$result['PROPERTY_TYPE'] = $typeNames[$type] ?? null;
		}
	}

	return $result;
}