public function ResumeContext::__construct in Payment 8.2
Constructs a new instance.
Parameters
\Drupal\Core\Session\AccountInterface $current_user:
\Drupal\Core\StringTranslation\TranslationInterface $string_translation:
File
- modules/
payment_reference/ src/ Controller/ ResumeContext.php, line 24
Class
- ResumeContext
- Handles the "resume context" route.
Namespace
Drupal\payment_reference\ControllerCode
public function __construct(AccountInterface $current_user, TranslationInterface $string_translation) {
$this->currentUser = $current_user;
$this->stringTranslation = $string_translation;
}