interface PaymentMethodConfigurationManagerInterface in Payment 8.2
Defines a payment method configuration manager.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\payment\Plugin\Payment\MethodConfiguration\PaymentMethodConfigurationManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
Expanded class hierarchy of PaymentMethodConfigurationManagerInterface
All classes that implement PaymentMethodConfigurationManagerInterface
12 files declare their use of PaymentMethodConfigurationManagerInterface
- AddPaymentMethodConfiguration.php in src/
Controller/ AddPaymentMethodConfiguration.php - AddPaymentMethodConfigurationTest.php in tests/
src/ Unit/ Controller/ AddPaymentMethodConfigurationTest.php - BasicDeriver.php in src/
Plugin/ Payment/ Method/ BasicDeriver.php - BasicDeriverTest.php in tests/
src/ Unit/ Plugin/ Payment/ Method/ BasicDeriverTest.php - EntityBundleInfoTest.php in tests/
src/ Unit/ Hook/ EntityBundleInfoTest.php
File
- src/
Plugin/ Payment/ MethodConfiguration/ PaymentMethodConfigurationManagerInterface.php, line 10
Namespace
Drupal\payment\Plugin\Payment\MethodConfigurationView source
interface PaymentMethodConfigurationManagerInterface extends PluginManagerInterface {
/**
* Creates a payment method configuration.
*
* @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\MethodConfiguration\PaymentMethodConfigurationInterface
*/
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 |
PaymentMethodConfigurationManagerInterface:: |
public | function |
Creates a payment method configuration. Overrides FactoryInterface:: |