You are here

public function PaymentGatewayFormInterface::getEntity in Commerce Core 8.2

Gets the form entity.

Allows the parent form to get the updated form entity after submitForm() performs the final changes.

Return value

\Drupal\commerce_payment\Entity\EntityWithPaymentGatewayInterface The form entity.

1 method overrides PaymentGatewayFormInterface::getEntity()
PaymentGatewayFormBase::getEntity in modules/payment/src/PluginForm/PaymentGatewayFormBase.php
Gets the form entity.

File

modules/payment/src/PluginForm/PaymentGatewayFormInterface.php, line 23

Class

PaymentGatewayFormInterface
Defines the interface for payment gateway plugin forms.

Namespace

Drupal\commerce_payment\PluginForm

Code

public function getEntity();