class PayPalExpressDeriver in PayPal for Payment 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Payment/Method/PayPalExpressDeriver.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalExpressDeriver
Derives payment method plugin definitions based on configuration entities.
Hierarchy
- class \Drupal\Component\Plugin\Derivative\DeriverBase implements DeriverInterface
- class \Drupal\payment\Plugin\Payment\Method\BasicDeriver implements ContainerDeriverInterface
- class \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasicDeriver
- class \Drupal\paypal_payment\Plugin\Payment\Method\PayPalExpressDeriver
- class \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasicDeriver
- class \Drupal\payment\Plugin\Payment\Method\BasicDeriver implements ContainerDeriverInterface
Expanded class hierarchy of PayPalExpressDeriver
File
- src/
Plugin/ Payment/ Method/ PayPalExpressDeriver.php, line 8
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodView source
class PayPalExpressDeriver extends PayPalBasicDeriver {
/**
* {@inheritdoc}
*/
protected function getId() : string {
return 'paypal_payment_express';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BasicDeriver:: |
protected | property | The payment method configuration manager. | |
BasicDeriver:: |
protected | property | The payment method configuration storage. | |
BasicDeriver:: |
public static | function |
Creates a new class instance. Overrides ContainerDeriverInterface:: |
|
BasicDeriver:: |
public | function | Constructs a new instance. | |
DeriverBase:: |
protected | property | List of derivative definitions. | 1 |
DeriverBase:: |
public | function |
Gets the definition of a derivative plugin. Overrides DeriverInterface:: |
|
PayPalBasicDeriver:: |
public | function |
Gets the definition of all derivatives of a base plugin. Overrides BasicDeriver:: |
|
PayPalExpressDeriver:: |
protected | function |
TODO: Is there a built in way to determine this id from the deriver? Overrides PayPalBasicDeriver:: |