public function EditPaymentMethodConfiguration::__construct in Payment 8.2
Constructs a new instance.
Parameters
\Drupal\Core\StringTranslation\TranslationInterface $string_translation:
File
- src/
Controller/ EditPaymentMethodConfiguration.php, line 20
Class
- EditPaymentMethodConfiguration
- Handles the "edit payment method configuration" route.
Namespace
Drupal\payment\ControllerCode
public function __construct(TranslationInterface $string_translation) {
$this->stringTranslation = $string_translation;
}