Fichier
-
src/
Plugin/ Field/ FieldType/ ColorFieldItem.php, line 70
Classe
- ColorFieldItem
- Plugin implementation of the 'color_field' field type.
Namespace
Drupal\color_field\Plugin\Field\FieldTypeCode
public function isEmpty() {
$value = $this->get('color')
->getValue();
return $value === NULL || $value === '';
}