You are here

private function OfficialFacebookPixelOptions::setOptions in Official Facebook Pixel 7

Same name and namespace in other branches
  1. 8 src/OfficialFacebookPixelOptions.php \Drupal\official_facebook_pixel\OfficialFacebookPixelOptions::setOptions()
1 call to OfficialFacebookPixelOptions::setOptions()
OfficialFacebookPixelOptions::__construct in src/OfficialFacebookPixelOptions.php

File

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

Class

OfficialFacebookPixelOptions
Class OfficialFacebookPixelOptions.

Namespace

Drupal\official_facebook_pixel

Code

private function setOptions() {
  $this->options = array(
    OfficialFacebookPixelConfig::FORM_PIXEL_KEY => variable_get(OfficialFacebookPixelConfig::FORM_PIXEL_KEY, '{pixel_id}'),
    OfficialFacebookPixelConfig::FORM_PII_KEY => variable_get(OfficialFacebookPixelConfig::FORM_PII_KEY, 1),
  );
}