UpdateOrder.php in Ubercart 8.4
File
uc_order/src/Plugin/Ubercart/OrderPane/UpdateOrder.php
View source
<?php
namespace Drupal\uc_order\Plugin\Ubercart\OrderPane;
use Drupal\uc_order\OrderInterface;
use Drupal\uc_order\OrderPanePluginBase;
class UpdateOrder extends OrderPanePluginBase {
public function view(OrderInterface $order, $view_mode) {
if ($view_mode != 'customer') {
return \Drupal::formBuilder()
->getForm('\\Drupal\\uc_order\\Form\\OrderUpdateForm', $order);
}
}
}
Classes
Name |
Description |
UpdateOrder |
Update an order's status or add comments to an order. |