Same name and namespace in other branches
- 3.0.x src/ColorCMY.php \Drupal\color_field\ColorCMY::toHex() 1 commentaire
Overrides ColorInterface::toHex
Fichier
-
src/
ColorCMY.php, line 96
Classe
- ColorCMY
- ColorCMY represents the CMY color format.
Namespace
Drupal\color_fieldCode
public function toHex() {
return $this->toRgb()
->toHex();
}