You are here

public function SubscriptionTypeBase::buildFieldDefinitions in Commerce Recurring Framework 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/SubscriptionType/SubscriptionTypeBase.php, line 61

Class

SubscriptionTypeBase
Defines the subscription base class.

Namespace

Drupal\commerce_recurring\Plugin\Commerce\SubscriptionType

Code

public function buildFieldDefinitions() {
  return [];
}