You are here

service payment_reference.payment_factory in Payment 8.2

Class

Drupal\payment_reference\PaymentFactory
4 string references to payment_reference.payment_factory
PaymentReference::create in modules/payment_reference/src/Plugin/Field/FieldWidget/PaymentReference.php
Creates an instance of the plugin.
PaymentReference::factory in modules/payment_reference/src/PaymentReference.php
Returns the payment factory.
PaymentReferenceTest::testCreate in modules/payment_reference/tests/src/Unit/Plugin/Field/FieldWidget/PaymentReferenceTest.php
@covers ::create @covers ::__construct
PaymentReferenceTest::testFactory in modules/payment_reference/tests/src/Unit/PaymentReferenceTest.php
@covers ::factory

File

modules/payment_reference/payment_reference.services.yml
modules/payment_reference/payment_reference.services.yml

View source
  1. class: Drupal\payment_reference\PaymentFactory
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@plugin.manager.payment.line_item'