public static function PaymentReference::defaultStorageSettings in Payment 8.2
Defines the storage-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides EntityReferenceItem::defaultStorageSettings
File
- modules/
payment_reference/ src/ Plugin/ Field/ FieldType/ PaymentReference.php, line 31
Class
- PaymentReference
- Provides a configurable payment reference field.
Namespace
Drupal\payment_reference\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'target_type' => 'payment',
] + parent::defaultStorageSettings();
}