You are here

public function OrderController::pageTitle in Ubercart 8.4

The title callback for order view routes.

Parameters

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

Return value

string The page title.

4 string references to 'OrderController::pageTitle'
uc_credit.routing.yml in payment/uc_credit/uc_credit.routing.yml
payment/uc_credit/uc_credit.routing.yml
uc_fulfillment.routing.yml in shipping/uc_fulfillment/uc_fulfillment.routing.yml
shipping/uc_fulfillment/uc_fulfillment.routing.yml
uc_order.routing.yml in uc_order/uc_order.routing.yml
uc_order/uc_order.routing.yml
uc_payment.routing.yml in payment/uc_payment/uc_payment.routing.yml
payment/uc_payment/uc_payment.routing.yml

File

uc_order/src/Controller/OrderController.php, line 108

Class

OrderController
Controller routines for order routes.

Namespace

Drupal\uc_order\Controller

Code

public function pageTitle(OrderInterface $uc_order) {
  return $uc_order
    ->label();
}