public function PaymentManual::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/ PaymentManual.php, line 19
Class
- PaymentManual
- Provides the manual payment type.
Namespace
Drupal\commerce_payment\Plugin\Commerce\PaymentTypeCode
public function buildFieldDefinitions() {
return [];
}