public function ConfigurePaymentType::title in Payment 8.2
Gets the title of the payment type configuration page.
Parameters
string $bundle: The payment type's plugin ID.
Return value
string
1 string reference to 'ConfigurePaymentType::title'
File
- src/
Controller/ ConfigurePaymentType.php, line 80
Class
- ConfigurePaymentType
- Handles the "configure payment type" route.
Namespace
Drupal\payment\ControllerCode
public function title($bundle) {
$definition = $this->paymentTypeManager
->getDefinition($bundle);
return $definition['label'];
}