• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/paysystem/baseservicehandler.php
  • Класс: BitrixSalePaySystemBaseServiceHandler
  • Вызов: BaseServiceHandler::includeDescription
protected function includeDescription(): array
{
	$data = null;

	$documentRoot = Application::getDocumentRoot();
	$dirs = Manager::getHandlerDirectories();
	$handlerDir = $dirs[$this->handlerType];
	$file = $documentRoot . $handlerDir . static::getName() . '/.description.php';

	if (IOFile::isFileExists($file))
	{
		require $file;
	}

	return (isset($data) && is_array($data)) ? $data : [];
}