Returns the string representation of the color (color, opacity).
Return value
string
File
-
src/
Color.php, line 55
Class
Namespace
Drupal\color_fieldCode
public function __toString() {
return $this->color . ' ' . $this->opacity;
}