You are here

public function PaymentDefault::buildFieldDefinitions in Commerce Core 8.2

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 BundlePluginInterface::buildFieldDefinitions

File

modules/payment/src/Plugin/Commerce/PaymentType/PaymentDefault.php, line 18

Class

PaymentDefault
Provides the default payment type.

Namespace

Drupal\commerce_payment\Plugin\Commerce\PaymentType

Code

public function buildFieldDefinitions() {
  return [];
}