• Модуль: catalogmobile
  • Путь к файлу: ~/bitrix/modules/catalogmobile/lib/EntityEditor/StoreDocumentProvider.php
  • Класс: BitrixCatalogMobileEntityEditorStoreDocumentProvider
  • Вызов: StoreDocumentProvider::getContractorData
protected function getContractorData(array $document): array
{
	if (!$this->contractorsProvider)
	{
		return [
			'CONTRACTOR_ID' . self::ENTITY_LIST_POSTFIX => [
				[
					'id' => $document['CONTRACTOR_ID'],
					'title' => $this->getContractorName(),
				],
			],
		];
	}

	return parent::getContractorData($document);
}