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

	foreach(ServiceFormatService::getInstance()->findAll($languageId) as $format)
	{
		$result[] = EntityFormatConverterArrayConverter::convertToArray($format);
	}

	return $result;
}