interface PaymentMethodManagerInterface in Payment 8.2
Defines a payment method manager.
Hierarchy
- interface \Drupal\plugin\PluginOperationsProviderProviderInterface; interface \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\payment\Plugin\Payment\Method\PaymentMethodManagerInterface
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
File
- src/
Plugin/ Payment/ Method/ PaymentMethodManagerInterface.php, line 11
Namespace
Drupal\payment\Plugin\Payment\MethodView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |
PaymentMethodManagerInterface:: |
public | function |
Creates a payment method. Overrides FactoryInterface:: |
|
PluginOperationsProviderProviderInterface:: |
public | function | Gets the plugin's operations provider. |