You are here

public function Permissions::__construct in Payment 8.2

Constructs a new instance.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation:

\Drupal\Component\Plugin\PluginManagerInterface $payment_method_configuration_manager:

File

src/Permissions.php, line 31

Class

Permissions
Provides dynamic permissions

Namespace

Drupal\payment

Code

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