interface PaymentLineItemManagerInterface in Payment 8.2
Defines a payment line item 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\LineItem\PaymentLineItemManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
Expanded class hierarchy of PaymentLineItemManagerInterface
All classes that implement PaymentLineItemManagerInterface
11 files declare their use of PaymentLineItemManagerInterface
- PaymentFactory.php in modules/
payment_reference/ src/ PaymentFactory.php - PaymentFactoryTest.php in modules/
payment_reference/ tests/ src/ Unit/ PaymentFactoryTest.php - PaymentForm.php in modules/
payment_form/ src/ Plugin/ Field/ FieldFormatter/ PaymentForm.php - PaymentForm.php in modules/
payment_form/ src/ Plugin/ Field/ FieldWidget/ PaymentForm.php - PaymentFormTest.php in modules/
payment_form/ tests/ src/ Unit/ Plugin/ Field/ FieldFormatter/ PaymentFormTest.php
File
- src/
Plugin/ Payment/ LineItem/ PaymentLineItemManagerInterface.php, line 10
Namespace
Drupal\payment\Plugin\Payment\LineItemView source
interface PaymentLineItemManagerInterface extends PluginManagerInterface {
/**
* Creates a payment line item.
*
* @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\LineItem\PaymentLineItemInterface
*/
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 |
PaymentLineItemManagerInterface:: |
public | function |
Creates a payment line item. Overrides FactoryInterface:: |