You are here

class MolliePaymentOperationsProvider in Mollie Payment 8.2

Provides mollie_payment operations based on config entities.

Hierarchy

Expanded class hierarchy of MolliePaymentOperationsProvider

File

src/Plugin/Payment/Method/MolliePaymentOperationsProvider.php, line 10

Namespace

Drupal\mollie_payment\Plugin\Payment\Method
View source
class MolliePaymentOperationsProvider extends PaymentMethodConfigurationOperationsProvider {

  /**
   * {@inheritdoc}
   */
  protected function getPaymentMethodConfiguration($plugin_id) {
    $entity_id = substr($plugin_id, 15);
    return $this->paymentMethodConfigurationStorage
      ->load($entity_id);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MolliePaymentOperationsProvider::getPaymentMethodConfiguration protected function Gets the payment method configuration entity for this plugin. Overrides PaymentMethodConfigurationOperationsProvider::getPaymentMethodConfiguration
PaymentMethodConfigurationOperationsProvider::$paymentMethodConfigurationListBuilder protected property The payment method configuration list builder.
PaymentMethodConfigurationOperationsProvider::$paymentMethodConfigurationStorage protected property The payment method configuration storage.
PaymentMethodConfigurationOperationsProvider::$redirectDestination protected property The redirect destination.
PaymentMethodConfigurationOperationsProvider::create public static function Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create
PaymentMethodConfigurationOperationsProvider::getOperations public function Gets plugin operations. Overrides PluginOperationsProviderInterface::getOperations
PaymentMethodConfigurationOperationsProvider::__construct public function Constructs a new instance.
StringTranslationTrait::$stringTranslation protected property The string translation service. 1
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.