• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/controller/format.php
  • Класс: BitrixLocationControllerFormat
  • Вызов: Format::findDefaultAction
public function findDefaultAction(string $languageId)
{
	$result = null;

	if($format = ServiceFormatService::getInstance()->findDefault($languageId))
	{
		$result = EntityFormatConverterArrayConverter::convertToArray($format);
	}

	return $result;
}