public static function RgItem::defaultStorageSettings in Brazilian IDs 8
Defines the storage-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultStorageSettings
File
- src/
Plugin/ Field/ FieldType/ RgItem.php, line 26
Class
- RgItem
- Field type for RG numbers.
Namespace
Drupal\brazilian_ids\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'number_only' => FALSE,
] + parent::defaultStorageSettings();
}