public function SmartIpDataSourceInterface::cronRun in Smart IP 8.4
Same name and namespace in other branches
- 8.2 src/SmartIpDataSourceInterface.php \Drupal\smart_ip\SmartIpDataSourceInterface::cronRun()
- 8.3 src/SmartIpDataSourceInterface.php \Drupal\smart_ip\SmartIpDataSourceInterface::cronRun()
Act on Drupal cron run.
Parameters
\Drupal\smart_ip\DatabaseFileEvent $event: Smart IP database file related events for event listeners.
6 methods override SmartIpDataSourceInterface::cronRun()
- SmartIpEventSubscriber::cronRun in modules/
device_geolocation/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Act on Drupal cron run.
- SmartIpEventSubscriber::cronRun in modules/
smart_ip_maxmind_geoip2_bin_db/ src/ EventSubscriber/ SmartIpEventSubscriber.php - MaxMind GeoIP2 updates the binary database every Tuesday (both lite and licensed versions), and we download every Wednesday. That means that we only want to download if the current database was downloaded prior to the most recently available version.
- SmartIpEventSubscriber::cronRun in modules/
smart_ip_ipinfodb_web_service/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Act on Drupal cron run.
- SmartIpEventSubscriber::cronRun in modules/
smart_ip_ip2location_bin_db/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Act on Drupal cron run.
- SmartIpEventSubscriber::cronRun in modules/
smart_ip_abstract_web_service/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Act on Drupal cron run.
File
- src/
SmartIpDataSourceInterface.php, line 89 - Contains \Drupal\smart_ip\SmartIpDataSourceInterface.
Class
- SmartIpDataSourceInterface
- Provides an interface for Smart IP's data source modules.
Namespace
Drupal\smart_ipCode
public function cronRun(DatabaseFileEvent $event);