• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/lib/configuration/appconfiguration.php
  • Класс: BitrixRestConfigurationAppConfiguration
  • Вызов: AppConfiguration::onEventImportController
static function onEventImportController(Event $event)
{
	$result = null;
	if (!static::checkAccessImport($event))
	{
		return $result;
	}

	$code = $event->getParameter('CODE');
	if (static::checkRequiredParams($code))
	{
		$data = $event->getParameters();
		switch ($code)
		{
			case 'REST_APPLICATION':
				$result = static::importApp($data);
				break;
		}
	}

	return $result;
}