You are here

protected function PixelBuilderService::getPixelIds in Simple Facebook Pixel 8

Gets the Pixels IDs.

Return value

array The list of Pixels IDs.

2 calls to PixelBuilderService::getPixelIds()
PixelBuilderService::getPixelNoScriptCode in src/PixelBuilderService.php
Gets pixel no-script code.
PixelBuilderService::getPixelScriptCode in src/PixelBuilderService.php
Gets pixel script code.

File

src/PixelBuilderService.php, line 224

Class

PixelBuilderService
Class PixelBuilderService.

Namespace

Drupal\simple_facebook_pixel

Code

protected function getPixelIds() {
  $pixels = $this->configFactory
    ->get('simple_facebook_pixel.settings')
    ->get('pixel_id');
  return explode(',', $pixels);
}