Same name and namespace in other branches
- 3.0.x src/ColorCMYK.php \Drupal\color_field\ColorCMYK::getKey()
Get the key (black).
Return value
int The amount of black.
File
-
src/
ColorCMYK.php, line 96
Class
- ColorCMYK
- ColorCMYK represents the CMYK color format.
Namespace
Drupal\color_fieldCode
public function getKey() {
return $this->key;
}