You are here

public function EditPayment::__construct in Payment 8.2

Constructs a new instance.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translator.

File

src/Controller/EditPayment.php, line 21

Class

EditPayment
Handles the "edit payment" route.

Namespace

Drupal\payment\Controller

Code

public function __construct(TranslationInterface $string_translation) {
  $this->stringTranslation = $string_translation;
}