public static function Payment::methodManager in Payment 8.2
Returns the payment method manager.
Return value
\Drupal\payment\Plugin\Payment\Method\PaymentMethodManagerInterface
1 call to Payment::methodManager()
- PaymentTest::testMethodManager in tests/
src/ Unit/ PaymentTest.php - @covers ::methodManager
File
- src/
Payment.php, line 15
Class
- Payment
- Provides wrappers for services.
Namespace
Drupal\paymentCode
public static function methodManager() {
return \Drupal::service('plugin.manager.payment.method');
}