You are here

public function FacebookCommerceInterface::getOrderData in Facebook Pixel 8

Build the Facebook object for orders.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The order object.

Return value

array The data array for an order.

1 method overrides FacebookCommerceInterface::getOrderData()
FacebookCommerce::getOrderData in modules/facebook_pixel_commerce/src/FacebookCommerce.php
Build the Facebook object for orders.

File

modules/facebook_pixel_commerce/src/FacebookCommerceInterface.php, line 22

Class

FacebookCommerceInterface
Defines the interface for facebook_pixel_commerce service.

Namespace

Drupal\facebook_pixel_commerce

Code

public function getOrderData(OrderInterface $order);