public function FacebookCommerceInterface::getOrderItemData in Facebook Pixel 8
Build the Facebook object for order items.
Parameters
\Drupal\commerce_order\Entity\OrderItemInterface $order_item: The order item object.
Return value
array The data array for an order item.
1 method overrides FacebookCommerceInterface::getOrderItemData()
- FacebookCommerce::getOrderItemData in modules/
facebook_pixel_commerce/ src/ FacebookCommerce.php - Build the Facebook object for order items.
File
- modules/
facebook_pixel_commerce/ src/ FacebookCommerceInterface.php, line 33
Class
- FacebookCommerceInterface
- Defines the interface for facebook_pixel_commerce service.
Namespace
Drupal\facebook_pixel_commerceCode
public function getOrderItemData(OrderItemInterface $order_item);