public function ColorInterface::getGreen in Color API 8
Same name in this branch
- 8 src/Entity/ColorInterface.php \Drupal\colorapi\Entity\ColorInterface::getGreen()
- 8 src/Plugin/DataType/ColorInterface.php \Drupal\colorapi\Plugin\DataType\ColorInterface::getGreen()
Retrieve 'Green' value of the Color data object RGB property.
Return value
array The value for the RGB "green". An integer between 0 and 255.
1 method overrides ColorInterface::getGreen()
- ColorData::getGreen in src/
Plugin/ DataType/ ColorData.php - Retrieve 'Green' value of the Color data object RGB property.
File
- src/
Plugin/ DataType/ ColorInterface.php, line 98
Class
- ColorInterface
- Interface for the Typed Data Color Complex Data type.
Namespace
Drupal\colorapi\Plugin\DataTypeCode
public function getGreen();