You are here

interface PaymentMethodManagerInterface in Payment 8.2

Defines a payment method manager.

Hierarchy

Expanded class hierarchy of PaymentMethodManagerInterface

All classes that implement PaymentMethodManagerInterface

16 files declare their use of PaymentMethodManagerInterface
EntityCrud.php in src/Hook/EntityCrud.php
ListPaymentMethods.php in src/Controller/ListPaymentMethods.php
ListPaymentMethodsTest.php in tests/src/Unit/Controller/ListPaymentMethodsTest.php
PaymentExecutionPaymentMethodManagerTest.php in tests/src/Unit/Plugin/Payment/Method/PaymentExecutionPaymentMethodManagerTest.php
PaymentFormConfigurationForm.php in modules/payment_form/src/Plugin/Payment/Type/PaymentFormConfigurationForm.php

... See full list

File

src/Plugin/Payment/Method/PaymentMethodManagerInterface.php, line 11

Namespace

Drupal\payment\Plugin\Payment\Method
View source
interface PaymentMethodManagerInterface extends PluginOperationsProviderProviderInterface, PluginManagerInterface {

  /**
   * Creates a payment method.
   *
   * @param string $plugin_id
   *   The id of the plugin being instantiated.
   * @param mixed[] $configuration
   *   An array of configuration relevant to the plugin instance.
   *
   * @return \Drupal\payment\Plugin\Payment\Method\PaymentMethodInterface
   */
  public function createInstance($plugin_id, array $configuration = []);

}

Members

Namesort descending Modifiers Type Description Overrides
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 4
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 3
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4
PaymentMethodManagerInterface::createInstance public function Creates a payment method. Overrides FactoryInterface::createInstance
PluginOperationsProviderProviderInterface::getOperationsProvider public function Gets the plugin's operations provider.