PaymentMethodManagerInterface.php in Payment 8.2
Namespace
Drupal\payment\Plugin\Payment\MethodFile
src/Plugin/Payment/Method/PaymentMethodManagerInterface.phpView source
<?php
namespace Drupal\payment\Plugin\Payment\Method;
use Drupal\Component\Plugin\PluginManagerInterface;
use Drupal\plugin\PluginOperationsProviderProviderInterface;
/**
* Defines a payment method manager.
*/
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 = []);
}
Interfaces
Name | Description |
---|---|
PaymentMethodManagerInterface | Defines a payment method manager. |