• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/baseform.php
  • Класс: BitrixCatalogComponentBaseForm
  • Вызов: BaseForm::getMainConfigElements
protected function getMainConfigElements(): array
{
	return array_merge(
		[
			['name' => 'NAME-CODE'],
			['name' => 'DETAIL_TEXT'],
		],
		ProductSystemField::getFieldsByRestrictions(
			[
				'TYPE' => $this->entity->getType(),
				'IBLOCK_ID' => $this->entity->getIblockId(),
			],
			[
				'RESULT_MODE' => ProductSystemField::DESCRIPTION_MODE_UI_FORM_EDITOR,
			]
		)
	);
}