public static function SmartIpEventSubscriber::sourceId in Smart IP 8.3
Same name in this branch
- 8.3 modules/device_geolocation/src/EventSubscriber/SmartIpEventSubscriber.php \Drupal\device_geolocation\EventSubscriber\SmartIpEventSubscriber::sourceId()
- 8.3 modules/smart_ip_maxmind_geoip2_bin_db/src/EventSubscriber/SmartIpEventSubscriber.php \Drupal\smart_ip_maxmind_geoip2_bin_db\EventSubscriber\SmartIpEventSubscriber::sourceId()
- 8.3 modules/smart_ip_ipinfodb_web_service/src/EventSubscriber/SmartIpEventSubscriber.php \Drupal\smart_ip_ipinfodb_web_service\EventSubscriber\SmartIpEventSubscriber::sourceId()
- 8.3 modules/smart_ip_ip2location_bin_db/src/EventSubscriber/SmartIpEventSubscriber.php \Drupal\smart_ip_ip2location_bin_db\EventSubscriber\SmartIpEventSubscriber::sourceId()
- 8.3 modules/smart_ip_abstract_web_service/src/EventSubscriber/SmartIpEventSubscriber.php \Drupal\smart_ip_abstract_web_service\EventSubscriber\SmartIpEventSubscriber::sourceId()
- 8.3 modules/smart_ip_maxmind_geoip2_web_service/src/EventSubscriber/SmartIpEventSubscriber.php \Drupal\smart_ip_maxmind_geoip2_web_service\EventSubscriber\SmartIpEventSubscriber::sourceId()
Same name and namespace in other branches
- 8.4 modules/smart_ip_maxmind_geoip2_web_service/src/EventSubscriber/SmartIpEventSubscriber.php \Drupal\smart_ip_maxmind_geoip2_web_service\EventSubscriber\SmartIpEventSubscriber::sourceId()
Smart IP data source module's source ID.
Return value
string Smart IP data source module's source ID.
Overrides SmartIpDataSourceInterface::sourceId
4 calls to SmartIpEventSubscriber::sourceId()
- SmartIpEventSubscriber::formSettings in modules/
smart_ip_maxmind_geoip2_web_service/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Add the form elements of this Smart IP data source to main admin settings page of Smart IP.
- SmartIpEventSubscriber::processQuery in modules/
smart_ip_maxmind_geoip2_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.
- SmartIpEventSubscriber::submitFormSettings in modules/
smart_ip_maxmind_geoip2_web_service/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Act on submission of main Smart IP admin settings form.
- SmartIpEventSubscriber::validateFormSettings in modules/
smart_ip_maxmind_geoip2_web_service/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Act on validation of main Smart IP admin settings form.
File
- modules/
smart_ip_maxmind_geoip2_web_service/ src/ EventSubscriber/ SmartIpEventSubscriber.php, line 31 - Contains \Drupal\smart_ip_maxmind_geoip2_web_service\EventSubscriber\SmartIpEventSubscriber.
Class
- SmartIpEventSubscriber
- Core functionalty of this Smart IP data source module. Listens to Smart IP override events.
Namespace
Drupal\smart_ip_maxmind_geoip2_web_service\EventSubscriberCode
public static function sourceId() {
return 'maxmind_geoip2_web_service';
}