class BasicOperationsProvider in Payment 8.2
Provides payment_basic operations based on config entities.
Hierarchy
- class \Drupal\payment\Plugin\Payment\Method\PaymentMethodConfigurationOperationsProvider implements ContainerInjectionInterface, PluginOperationsProviderInterface uses StringTranslationTrait
- class \Drupal\payment\Plugin\Payment\Method\BasicOperationsProvider
Expanded class hierarchy of BasicOperationsProvider
1 file declares its use of BasicOperationsProvider
- BasicOperationsProviderTest.php in tests/
src/ Unit/ Plugin/ Payment/ Method/ BasicOperationsProviderTest.php
File
- src/
Plugin/ Payment/ Method/ BasicOperationsProvider.php, line 12
Namespace
Drupal\payment\Plugin\Payment\MethodView source
class BasicOperationsProvider extends PaymentMethodConfigurationOperationsProvider {
/**
* {@inheritdoc}
*/
protected function getPaymentMethodConfiguration($plugin_id) {
$entity_id = substr($plugin_id, 14);
return $this->paymentMethodConfigurationStorage
->load($entity_id);
}
}