You are here

public function SmartIpDataSourceInterface::processQuery in Smart IP 8.2

Same name and namespace in other branches
  1. 8.4 src/SmartIpDataSourceInterface.php \Drupal\smart_ip\SmartIpDataSourceInterface::processQuery()
  2. 8.3 src/SmartIpDataSourceInterface.php \Drupal\smart_ip\SmartIpDataSourceInterface::processQuery()

Act on \Drupal\smart_ip\SmartIp::query() when executed and if selected as Smart IP data source, query the IP address against its database.

Parameters

\Drupal\smart_ip\GetLocationEvent $event:

1 method overrides SmartIpDataSourceInterface::processQuery()
SmartIpEventSubscriber::processQuery in modules/smart_ip_ipinfodb_web_service/src/EventSubscriber/SmartIpEventSubscriber.php
Act on \Drupal\smart_ip\SmartIp::query() when executed and if selected as Smart IP data source, query the IP address against its database.

File

src/SmartIpDataSourceInterface.php, line 38
Contains \Drupal\smart_ip\SmartIpDataSourceInterface.

Class

SmartIpDataSourceInterface
Provides an interface for Smart IP's data source modules.

Namespace

Drupal\smart_ip

Code

public function processQuery(GetLocationEvent $event);