You are here

interface PaymentTypeManagerInterface in Payment 8.2

Defines a payment type manager.

Hierarchy

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

... See full list

File

src/Plugin/Payment/Type/PaymentTypeManagerInterface.php, line 11

Namespace

Drupal\payment\Plugin\Payment\Type
View 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

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
PaymentTypeManagerInterface::createInstance public function Creates a payment type. Overrides FactoryInterface::createInstance
PluginOperationsProviderProviderInterface::getOperationsProvider public function Gets the plugin's operations provider.