public function EnvironmentIndicator::getBgColor in Environment Indicator 4.x
Same name and namespace in other branches
- 8.3 src/Entity/EnvironmentIndicator.php \Drupal\environment_indicator\Entity\EnvironmentIndicator::getBgColor()
Gets the background color.
Return value
string The color code for the indicator.
File
- src/
Entity/ EnvironmentIndicator.php, line 124
Class
- EnvironmentIndicator
- Defines a Environment configuration entity.
Namespace
Drupal\environment_indicator\EntityCode
public function getBgColor() {
return $this
->get('bg_color');
}