public function PaymentFactoryInterface::createPayment in Payment 8.2
Creates a payment for a field.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $field_definition:
Return value
\Drupal\payment\Entity\PaymentInterface
1 method overrides PaymentFactoryInterface::createPayment()
- PaymentFactory::createPayment in modules/
payment_reference/ src/ PaymentFactory.php - Creates a payment for a field.
File
- modules/
payment_reference/ src/ PaymentFactoryInterface.php, line 19
Class
- PaymentFactoryInterface
- Defines a payment factory service.
Namespace
Drupal\payment_referenceCode
public function createPayment(FieldDefinitionInterface $field_definition);