Fichier
-
src/
Plugin/ Field/ FieldFormatter/ ColorFieldTextFormatter.php, line 31
Classe
- ColorFieldTextFormatter
- Plugin implementation of the 'color_field_swatch' formatter.
Namespace
Drupal\color_field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'format' => 'hexadecimal',
) + parent::defaultSettings();
}