You are here

public function ColorInterface::getGreen in Color API 8

Same name in this branch
  1. 8 src/Entity/ColorInterface.php \Drupal\colorapi\Entity\ColorInterface::getGreen()
  2. 8 src/Plugin/DataType/ColorInterface.php \Drupal\colorapi\Plugin\DataType\ColorInterface::getGreen()

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 ColorInterface::getGreen()
Color::getGreen in src/Entity/Color.php
Retrieve 'Green' value of the Color Field Color data object RGB property.

File

src/Entity/ColorInterface.php, line 46

Class

ColorInterface
Intefrface for Color Entities.

Namespace

Drupal\colorapi\Entity

Code

public function getGreen();