public function GetLocationEvent::setLocation in Smart IP 8.2
Same name and namespace in other branches
- 8.4 src/GetLocationEvent.php \Drupal\smart_ip\GetLocationEvent::setLocation()
- 8.3 src/GetLocationEvent.php \Drupal\smart_ip\GetLocationEvent::setLocation()
Parameters
\Drupal\smart_ip\SmartIpLocationInterface $location:
1 call to GetLocationEvent::setLocation()
- GetLocationEvent::__construct in src/
GetLocationEvent.php - Constructs a Smart IP event.
File
- src/
GetLocationEvent.php, line 51 - Contains \Drupal\smart_ip\GetLocationEvent.
Class
- GetLocationEvent
- Provides Smart IP query location override event for event listeners.
Namespace
Drupal\smart_ipCode
public function setLocation(SmartIpLocationInterface $location) {
$this->location = $location;
}