• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/Integration/UI/EntityEditor/PropertyProvider.php
  • Класс: BitrixIblockIntegrationUIEntityEditorPropertyProvider
  • Вызов: PropertyProvider::getPropertyTypeSettings
private function getPropertyTypeSettings(): PropertyTypeSettings
{
	if (isset($this->typeSettings))
	{
		return $this->typeSettings;
	}

	if (isset($this->userType))
	{
		$this->typeSettings = PropertyTypeSettings::createByUserType($this->propertyType, $this->userType, $this->entity);
	}
	else
	{
		$this->typeSettings = new PropertyTypeSettings($this->propertyType, null);
	}

	return $this->typeSettings;
}