public function EnvironmentIndicator::setFgColor in Environment Indicator 8.3
Same name and namespace in other branches
- 4.x src/Entity/EnvironmentIndicator.php \Drupal\environment_indicator\Entity\EnvironmentIndicator::setFgColor()
Sets the foreground color.
Parameters
string $fg_color: The foreground color.
File
- src/
Entity/ EnvironmentIndicator.php, line 156
Class
- EnvironmentIndicator
- Defines a Environment configuration entity.
Namespace
Drupal\environment_indicator\EntityCode
public function setFgColor($fg_color) {
$this
->set('fg_color', $fg_color);
}