public function EditPayment::title in Payment 8.2
Returns the title for the payment edit page.
Parameters
\Drupal\payment\Entity\PaymentInterface $payment:
Return value
string
File
- src/
Controller/ EditPayment.php, line 39
Class
- EditPayment
- Handles the "edit payment" route.
Namespace
Drupal\payment\ControllerCode
public function title(PaymentInterface $payment) {
return $this
->t('Edit payment #@payment_id', [
'@payment_id' => $payment
->id(),
]);
}