Loading src/Plugin/Payment/Method/PaymentMethodBase.php +8 −1 Original line number Diff line number Diff line Loading @@ -54,6 +54,13 @@ abstract class PaymentMethodBase extends PluginBase implements ContainerFactoryP */ protected $token; /** * The payment status manager. * * @var \Drupal\payment\Plugin\Payment\Status\PaymentStatusManagerInterface */ protected $paymentStatusManager; /** * Constructs a new instance. * Loading @@ -69,7 +76,7 @@ abstract class PaymentMethodBase extends PluginBase implements ContainerFactoryP * The event dispatcher. * @param \Drupal\Core\Utility\Token $token * The token API. * @param \Drupal\payment\Plugin\Payment\Status\PaymentStatusManagerInterface * @param \Drupal\payment\Plugin\Payment\Status\PaymentStatusManagerInterface $payment_status_manager * The payment status manager. */ public function __construct(array $configuration, $plugin_id, array $plugin_definition, ModuleHandlerInterface $module_handler, EventDispatcherInterface $event_dispatcher, Token $token, PaymentStatusManagerInterface $payment_status_manager) { Loading Loading
src/Plugin/Payment/Method/PaymentMethodBase.php +8 −1 Original line number Diff line number Diff line Loading @@ -54,6 +54,13 @@ abstract class PaymentMethodBase extends PluginBase implements ContainerFactoryP */ protected $token; /** * The payment status manager. * * @var \Drupal\payment\Plugin\Payment\Status\PaymentStatusManagerInterface */ protected $paymentStatusManager; /** * Constructs a new instance. * Loading @@ -69,7 +76,7 @@ abstract class PaymentMethodBase extends PluginBase implements ContainerFactoryP * The event dispatcher. * @param \Drupal\Core\Utility\Token $token * The token API. * @param \Drupal\payment\Plugin\Payment\Status\PaymentStatusManagerInterface * @param \Drupal\payment\Plugin\Payment\Status\PaymentStatusManagerInterface $payment_status_manager * The payment status manager. */ public function __construct(array $configuration, $plugin_id, array $plugin_definition, ModuleHandlerInterface $module_handler, EventDispatcherInterface $event_dispatcher, Token $token, PaymentStatusManagerInterface $payment_status_manager) { Loading