You are here

public function ColorItemInterface::getGreen in Color API 8

Retrieve 'Green' value of the Color Field Color data object RGB property.

Return value

array The value for the RGB "red". An integer between 0 and 255.

1 method overrides ColorItemInterface::getGreen()
ColorItem::getGreen in src/Plugin/Field/FieldType/ColorItem.php
Retrieve 'Green' value of the Color Field Color data object RGB property.

File

src/Plugin/Field/FieldType/ColorItemInterface.php, line 151

Class

ColorItemInterface
Interface for Field API Color items.

Namespace

Drupal\colorapi\Plugin\Field\FieldType

Code

public function getGreen();