static function SmartIpEventSubscriberBase::getSubscribedEvents in Smart IP 8.3
Same name and namespace in other branches
- 8.4 src/SmartIpEventSubscriberBase.php \Drupal\smart_ip\SmartIpEventSubscriberBase::getSubscribedEvents()
- 8.2 src/SmartIpEventSubscriberBase.php \Drupal\smart_ip\SmartIpEventSubscriberBase::getSubscribedEvents()
File
- src/
SmartIpEventSubscriberBase.php, line 29 - Contains \Drupal\smart_ip\SmartIpEventSubscriberBase.
Class
- SmartIpEventSubscriberBase
- Provides a base class for Smart IP data source modules.
Namespace
Drupal\smart_ipCode
static function getSubscribedEvents() {
$events[SmartIpEvents::QUERY_IP][] = [
'processQuery',
];
$events[SmartIpEvents::DISPLAY_SETTINGS][] = [
'formSettings',
];
$events[SmartIpEvents::VALIDATE_SETTINGS][] = [
'validateFormSettings',
];
$events[SmartIpEvents::SUBMIT_SETTINGS][] = [
'submitFormSettings',
];
$events[SmartIpEvents::GET_CONFIG_NAME][] = [
'includeEditableConfigNames',
];
$events[SmartIpEvents::MANUAL_UPDATE][] = [
'manualUpdate',
];
$events[SmartIpEvents::CRON_RUN][] = [
'cronRun',
];
return $events;
}