public function AddPaymentMethodConfiguration::title in Payment 8.2
Returns the title for the payment method configuration add form.
Parameters
string $plugin_id:
Return value
string
1 string reference to 'AddPaymentMethodConfiguration::title'
File
- src/
Controller/ AddPaymentMethodConfiguration.php, line 82
Class
- AddPaymentMethodConfiguration
- Handles the "add payment method configuration" route.
Namespace
Drupal\payment\ControllerCode
public function title($plugin_id) {
$plugin_definition = $this->paymentMethodConfigurationManager
->getDefinition($plugin_id);
return $this
->t('Add %label payment method configuration', [
'%label' => $plugin_definition['label'],
]);
}