Same name and namespace in other branches
- 3.0.x src/Plugin/Field/FieldType/ColorFieldType.php \Drupal\color_field\Plugin\Field\FieldType\ColorFieldType::defaultFieldSettings()
Fichier
-
src/
Plugin/ Field/ FieldType/ ColorFieldType.php, line 35
Classe
- ColorFieldType
- Plugin implementation of the 'color_type' field type.
Namespace
Drupal\color_field\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'opacity' => TRUE,
] + parent::defaultFieldSettings();
}