protected function FacebookEvent::hasSession in Facebook Pixel 8
Determines if a user session has been established.
Return value
bool If a user has an established session.
File
- src/
FacebookEvent.php, line 138
Class
- FacebookEvent
- Helper methods for facebook_pixel module.
Namespace
Drupal\facebook_pixelCode
protected function hasSession() {
return !empty($this->sessionManager) && $this->sessionManager
->isStarted();
}