You are here

public function PageContextService::build in Simple Facebook Pixel 8

Builds events data.

Overrides PageContextServiceInterface::build

File

src/PageContextService.php, line 100

Class

PageContextService
Class PageContextService.

Namespace

Drupal\simple_facebook_pixel

Code

public function build() {
  $this
    ->buildNodeData();
  $this
    ->buildTaxonomyTermData();
  $this
    ->buildCommerceProductData();
  $this
    ->buildInitiateCheckout();
}