You are here

public static function PixelScriptBuilder::initialize in Official Facebook Pixel 7

Same name and namespace in other branches
  1. 8 src/PixelScriptBuilder.php \Drupal\official_facebook_pixel\PixelScriptBuilder::initialize()
1 call to PixelScriptBuilder::initialize()
OfficialFacebookPixelInjection::injectPixelCode in src/OfficialFacebookPixelInjection.php

File

src/PixelScriptBuilder.php, line 74
Contains \Drupal\official_facebook_pixel\PixelScriptBuilder.

Class

PixelScriptBuilder
Pixel object

Namespace

Drupal\official_facebook_pixel

Code

public static function initialize($pixel_id = '') {
  self::$pixelId = $pixel_id;
}