Same name and namespace in other branches
- 3.0.x src/Plugin/Field/FieldFormatter/ColorFieldFormatterCss.php \Drupal\color_field\Plugin\Field\FieldFormatter\ColorFieldFormatterCss::defaultSettings()
File
-
src/
Plugin/ Field/ FieldFormatter/ ColorFieldFormatterCss.php, line 91
Class
- ColorFieldFormatterCss
- Plugin implementation of the color_field css declaration formatter.
Namespace
Drupal\color_field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'selector' => 'body',
'property' => 'background-color',
'important' => TRUE,
'opacity' => TRUE,
'advanced' => FALSE,
'css' => '',
] + parent::defaultSettings();
}