public function OrderHandlerInterface::buildProduct in Mailchimp E-Commerce 8
Returns product data formatted for use with Mailchimp.
Parameters
\Drupal\commerce_order\Entity\OrderItem $item: The Commerce Order Item.
Return value
array Array of product data.
1 method overrides OrderHandlerInterface::buildProduct()
- OrderHandler::buildProduct in src/
OrderHandler.php - @inheritdoc
File
- src/
OrderHandlerInterface.php, line 80
Class
- OrderHandlerInterface
- Interface for the Order handler.
Namespace
Drupal\mailchimp_ecommerceCode
public function buildProduct(OrderItem $item);