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