• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/gridserviceform.php
  • Класс: BitrixCatalogComponentGridServiceForm
  • Вызов: GridServiceForm::getHeaderName
static function getHeaderName(string $code): array
{
	$headerName = Loc::getMessage('CATALOG_SERVICE_CARD_VARIATION_GRID_HEADER_NAME_' . $code);
	$headerTitle = Loc::getMessage('CATALOG_SERVICE_CARD_VARIATION_GRID_HEADER_TITLE_' . $code);

	return [
		'NAME' => $headerName,
		'TITLE' => $headerTitle ?? $headerName,
	];
}