• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/component/baseufcomponent.php
  • Класс: BitrixMainComponentBaseUfComponent
  • Вызов: BaseUfComponent::normalizeFieldValue
static function normalizeFieldValue($value): array
{
	if(!is_array($value))
	{
		$value = array($value);
	}
	if(empty($value))
	{
		$value = array(null);
	}

	return $value;
}