You are here

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'
payment.routing.yml in ./payment.routing.yml
payment.routing.yml

File

src/Controller/EditPaymentStatus.php, line 39

Class

EditPaymentStatus
Handles the "edit payment status" route.

Namespace

Drupal\payment\Controller

Code

public function title(PaymentStatusInterface $payment_status) {
  return $this
    ->t('Edit %label', [
    '%label' => $payment_status
      ->label(),
  ]);
}