class PaymentStatusOperationsProvider in Payment 8.2
Provides operations for the payment status plugin type.
Hierarchy
- class \Drupal\plugin\PluginType\DefaultPluginTypeOperationsProvider implements ContainerInjectionInterface, PluginTypeOperationsProviderInterface uses DependencySerializationTrait, StringTranslationTrait
- class \Drupal\payment\Plugin\Payment\Status\PaymentStatusOperationsProvider
Expanded class hierarchy of PaymentStatusOperationsProvider
1 file declares its use of PaymentStatusOperationsProvider
- PaymentStatusOperationsProviderTest.php in tests/
src/ Unit/ Plugin/ Payment/ Status/ PaymentStatusOperationsProviderTest.php
1 string reference to 'PaymentStatusOperationsProvider'
File
- src/
Plugin/ Payment/ Status/ PaymentStatusOperationsProvider.php, line 11
Namespace
Drupal\payment\Plugin\Payment\StatusView source
class PaymentStatusOperationsProvider extends DefaultPluginTypeOperationsProvider {
/**
* {@inheritdoc}
*/
public function getOperations($plugin_type_id) {
$operations = parent::getOperations($plugin_type_id);
$operations['list']['url'] = new Url('entity.payment_status.collection');
return $operations;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DefaultPluginTypeOperationsProvider:: |
public static | function |
Instantiates a new instance of this class. Overrides ContainerInjectionInterface:: |
|
DefaultPluginTypeOperationsProvider:: |
public | function | Constructs a new instance. | |
DependencySerializationTrait:: |
protected | property | An array of entity type IDs keyed by the property name of their storages. | |
DependencySerializationTrait:: |
protected | property | An array of service IDs keyed by property name used for serialization. | |
DependencySerializationTrait:: |
public | function | 1 | |
DependencySerializationTrait:: |
public | function | 2 | |
PaymentStatusOperationsProvider:: |
public | function |
Gets plugin operations. Overrides DefaultPluginTypeOperationsProvider:: |
|
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |