• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/Integration/UI/EntityEditor/PropertyProvider.php
  • Класс: BitrixIblockIntegrationUIEntityEditorPropertyProvider
  • Вызов: PropertyProvider::getDisplayTypeItems
private function getDisplayTypeItems(): array
{
	$result = [];

	$types = CIBlockSectionPropertyLink::getDisplayTypes($this->propertyType, $this->userType);
	foreach ($types as $type => $name)
	{
		$result[] = [
			'NAME' => $name,
			'VALUE' => $type,
		];
	}

	return $result;
}