You are here

protected function FacebookEvent::flushEvents in Facebook Pixel 8

Delete the temp storage object.

1 call to FacebookEvent::flushEvents()
FacebookEvent::getSessionEvents in src/FacebookEvent.php
Fetch events when a user session exists.

File

src/FacebookEvent.php, line 145

Class

FacebookEvent
Helper methods for facebook_pixel module.

Namespace

Drupal\facebook_pixel

Code

protected function flushEvents() {
  try {
    $this->privateTempStore
      ->delete('facebook_pixel');
  } catch (\Exception $ex) {

    // No action necessary.
  }
}