Same name and namespace in other branches
- 8.x-2.x src/Plugin/Field/FieldFormatter/ColorFieldFormatterText.php \Drupal\color_field\Plugin\Field\FieldFormatter\ColorFieldFormatterText::defaultSettings() 1 comment
File
-
src/
Plugin/ Field/ FieldFormatter/ ColorFieldFormatterText.php, line 90
Class
- ColorFieldFormatterText
- Plugin implementation of the color_field text formatter.
Namespace
Drupal\color_field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() : array {
return [
'format' => 'hex',
'opacity' => TRUE,
] + parent::defaultSettings();
}