You are here

public function PayPalCheckout::buildFieldDefinitions in Commerce PayPal 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 BundlePluginInterface::buildFieldDefinitions

File

src/Plugin/Commerce/PaymentType/PayPalCheckout.php, line 21

Class

PayPalCheckout
Provides the payment type for PayPal Checkout.

Namespace

Drupal\commerce_paypal\Plugin\Commerce\PaymentType

Code

public function buildFieldDefinitions() {
  return [];
}