Same name and namespace in other branches
- 8.x-2.x src/Plugin/Field/FieldType/ColorFieldType.php \Drupal\color_field\Plugin\Field\FieldType\ColorFieldType::defaultStorageSettings()
Fichier
-
src/
Plugin/ Field/ FieldType/ ColorFieldType.php, line 193
Classe
- ColorFieldType
- Plugin implementation of the 'color_type' field type.
Namespace
Drupal\color_field\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() : array {
return [
'format' => '#HEXHEX',
] + parent::defaultStorageSettings();
}