You are here

public function OrderPanePluginInterface::view in Ubercart 8.4

Returns the contents of an order pane as a store administrator.

Parameters

\Drupal\uc_order\OrderInterface $order: The order that is being viewed.

string $view_mode: The view mode that is being used to render the order.

Return value

array A render array showing order data.

11 methods override OrderPanePluginInterface::view()
AddressPaneBase::view in uc_order/src/Plugin/Ubercart/OrderPane/AddressPaneBase.php
Returns the contents of an order pane as a store administrator.
AdminComments::view in uc_order/src/Plugin/Ubercart/OrderPane/AdminComments.php
Returns the contents of an order pane as a store administrator.
CustomerInfo::view in uc_order/src/Plugin/Ubercart/OrderPane/CustomerInfo.php
Returns the contents of an order pane as a store administrator.
LineItems::view in uc_order/src/Plugin/Ubercart/OrderPane/LineItems.php
Returns the contents of an order pane as a store administrator.
OrderComments::view in uc_order/src/Plugin/Ubercart/OrderPane/OrderComments.php
Returns the contents of an order pane as a store administrator.

... See full list

File

uc_order/src/OrderPanePluginInterface.php, line 48

Class

OrderPanePluginInterface
Defines an interface for order pane plugins.

Namespace

Drupal\uc_order

Code

public function view(OrderInterface $order, $view_mode);