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