public static function NifItem::defaultFieldSettings in Field NIF 8
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ NifItem.php, line 94
Class
- NifItem
- Plugin implementation of the 'nif' field type.
Namespace
Drupal\field_nif\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'supported_types' => [
'nif',
'cif',
'nie',
],
] + parent::defaultFieldSettings();
}