Creates a Color instance.
Paramètres
string $color The color.:
float $opacity The opacity.:
Fichier
-
src/
Color.php, line 31
Classe
Namespace
Drupal\color_fieldCode
public function __construct($color, $opacity) {
$this->color = $color;
$this->opacity = $opacity;
}