Same name and namespace in other branches
  1. 8.x-2.x src/ColorCMYK.php \Drupal\color_field\ColorCMYK::getKey()

Get the key (black).

Return value

int The amount of black.

Fichier

src/ColorCMYK.php, line 44

Classe

ColorCMYK
ColorCMYK represents the CMYK color format.

Namespace

Drupal\color_field

Code

public function getKey() : int {
    return $this->key;
}