You are here

public function OfficialFacebookPixelOptions::getAgentString in Official Facebook Pixel 8

Same name and namespace in other branches
  1. 7 src/OfficialFacebookPixelOptions.php \Drupal\official_facebook_pixel\OfficialFacebookPixelOptions::getAgentString()

File

src/OfficialFacebookPixelOptions.php, line 105
Contains \Drupal\official_facebook_pixel \OfficialFacebookPixelOptions.

Class

OfficialFacebookPixelOptions
Class OfficialFacebookPixelOptions.

Namespace

Drupal\official_facebook_pixel

Code

public function getAgentString() {
  return sprintf('%s-%s', $this->versionInfo['source'], $this->versionInfo['version']);
}