You are here

public function AdminConfigureForm::ipGeoLocEraseSession in IP Geolocation Views & Maps 8

Erase geoloc data from session.

File

src/Form/AdminConfigureForm.php, line 411

Class

AdminConfigureForm
Pending doc.

Namespace

Drupal\ip_geoloc\Form

Code

public function ipGeoLocEraseSession() {
  $this->ipGeolocSession
    ->setSessionValue(FALSE);
  $this->messenger
    ->addMessage($this
    ->t('Geolocation data erased from session.'));
}