You are here

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

Same name and namespace in other branches
  1. 8 src/PixelScriptBuilder.php \Drupal\official_facebook_pixel\PixelScriptBuilder::setPixelId()

Sets FB pixel ID

File

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

Class

PixelScriptBuilder
Pixel object

Namespace

Drupal\official_facebook_pixel

Code

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