Same name and namespace in other branches
- 3.0.x src/ColorHex.php \Drupal\color_field\ColorHex::toHex()
Overrides ColorInterface::toHex
File
-
src/
ColorHex.php, line 72
Class
- ColorHex
- Hex represents the Hex color format.
Namespace
Drupal\color_fieldCode
public function toHex() {
return $this;
}