You are here

public function EditPaymentMethodConfiguration::title in Payment 8.2

Returns the title for the payment method configuration edit form.

Parameters

\Drupal\payment\Entity\PaymentMethodConfigurationInterface $payment_method_configuration:

Return value

string

1 string reference to 'EditPaymentMethodConfiguration::title'
payment.routing.yml in ./payment.routing.yml
payment.routing.yml

File

src/Controller/EditPaymentMethodConfiguration.php, line 38

Class

EditPaymentMethodConfiguration
Handles the "edit payment method configuration" route.

Namespace

Drupal\payment\Controller

Code

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