You are here

public function Mollie::buildFieldDefinitions in Commerce Mollie 8

Builds the field definitions for entities of this bundle.

Important: Field names must be unique across all bundles. It is recommended to prefix them with the bundle name (plugin ID).

Return value

\Drupal\entity\BundleFieldDefinition[] An array of bundle field definitions, keyed by field name.

Overrides PaymentMethodTypeBase::buildFieldDefinitions

File

src/Plugin/Commerce/PaymentMethodType/Mollie.php, line 29

Class

Mollie
Provides the credit card payment method type.

Namespace

Drupal\commerce_mollie\Plugin\Commerce\PaymentMethodType

Code

public function buildFieldDefinitions() {
  $fields = parent::buildFieldDefinitions();
  return $fields;
}