You are here

public function EnvironmentIndicator::getFgColor in Environment Indicator 8.3

Same name and namespace in other branches
  1. 4.x src/Entity/EnvironmentIndicator.php \Drupal\environment_indicator\Entity\EnvironmentIndicator::getFgColor()

Gets the foreground color.

Return value

string The color code for the indicator.

File

src/Entity/EnvironmentIndicator.php, line 106

Class

EnvironmentIndicator
Defines a Environment configuration entity.

Namespace

Drupal\environment_indicator\Entity

Code

public function getFgColor() {
  return $this
    ->get('fg_color');
}