private function OfficialFacebookPixelOptions::setOptions in Official Facebook Pixel 8
Same name and namespace in other branches
- 7 src/OfficialFacebookPixelOptions.php \Drupal\official_facebook_pixel\OfficialFacebookPixelOptions::setOptions()
1 call to OfficialFacebookPixelOptions::setOptions()
File
- src/
OfficialFacebookPixelOptions.php, line 54 - Contains \Drupal\official_facebook_pixel \OfficialFacebookPixelOptions.
Class
- OfficialFacebookPixelOptions
- Class OfficialFacebookPixelOptions.
Namespace
Drupal\official_facebook_pixelCode
private function setOptions() {
$config = \Drupal::config(OfficialFacebookPixelConfig::CONFIG_NAME);
$this->options = array(
OfficialFacebookPixelConfig::FORM_PIXEL_KEY => $config
->get(OfficialFacebookPixelConfig::FORM_PIXEL_KEY),
OfficialFacebookPixelConfig::FORM_PII_KEY => $config
->get(OfficialFacebookPixelConfig::FORM_PII_KEY),
);
}