interface PaymentTypeManagerInterface in Payment 8.2
Defines a payment type manager.
Hierarchy
- interface \Drupal\plugin\PluginOperationsProviderProviderInterface; interface \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\payment\Plugin\Payment\Type\PaymentTypeManagerInterface
Expanded class hierarchy of PaymentTypeManagerInterface
All classes that implement PaymentTypeManagerInterface
8 files declare their use of PaymentTypeManagerInterface
- ConfigurePaymentType.php in src/
Controller/ ConfigurePaymentType.php - ConfigurePaymentTypeTest.php in tests/
src/ Unit/ Controller/ ConfigurePaymentTypeTest.php - EntityBundleInfoTest.php in tests/
src/ Unit/ Hook/ EntityBundleInfoTest.php - ListPaymentTypes.php in src/
Controller/ ListPaymentTypes.php - ListPaymentTypesTest.php in tests/
src/ Unit/ Controller/ ListPaymentTypesTest.php
File
- src/
Plugin/ Payment/ Type/ PaymentTypeManagerInterface.php, line 11
Namespace
Drupal\payment\Plugin\Payment\TypeView source
interface PaymentTypeManagerInterface extends PluginOperationsProviderProviderInterface, PluginManagerInterface {
/**
* Creates a payment type.
*
* @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\Type\PaymentTypeInterface
*/
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 |
PaymentTypeManagerInterface:: |
public | function |
Creates a payment type. Overrides FactoryInterface:: |
|
PluginOperationsProviderProviderInterface:: |
public | function | Gets the plugin's operations provider. |