public function EditPaymentStatus::title in Payment 8.2
Returns the title for the edit page.
Parameters
\Drupal\payment\Entity\PaymentStatusInterface $payment_status:
Return value
string
1 string reference to 'EditPaymentStatus::title'
File
- src/
Controller/ EditPaymentStatus.php, line 39
Class
- EditPaymentStatus
- Handles the "edit payment status" route.
Namespace
Drupal\payment\ControllerCode
public function title(PaymentStatusInterface $payment_status) {
return $this
->t('Edit %label', [
'%label' => $payment_status
->label(),
]);
}