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