Same name and namespace in other branches
- 3.0.x src/ColorInterface.php \Drupal\color_field\ColorInterface::toString() 1 commentaire
Get the color as a string.
Return value
string The color as a string.
5 methods override ColorInterface::toString()
- ColorCMY::toString dans src/
ColorCMY.php - A string representation of this color in the current format.
- ColorCMYK::toString dans src/
ColorCMYK.php - A string representation of this color in the current format.
- ColorHex::toString dans src/
ColorHex.php - A string representation of this color in the current format.
- ColorHSL::toString dans src/
ColorHSL.php - A string representation of this color in the current format.
- ColorRGB::toString dans src/
ColorRGB.php - A string representation of this color in the current format.
Fichier
-
src/
ColorInterface.php, line 16
Classe
- ColorInterface
- Defines a common interface for color classes.
Namespace
Drupal\color_fieldCode
public function toString();