public function BackgroundImageForm::getSettingValues in Background Image 8
Same name and namespace in other branches
- 2.x src/Form/BackgroundImageForm.php \Drupal\background_image\Form\BackgroundImageForm::getSettingValues()
- 2.0.x src/Form/BackgroundImageForm.php \Drupal\background_image\Form\BackgroundImageForm::getSettingValues()
Retrieves all the setting values.
Return value
array
File
- src/
Form/ BackgroundImageForm.php, line 581
Class
Namespace
Drupal\background_image\FormCode
public function getSettingValues() {
$values = [];
foreach (array_keys($this->backgroundImage
->getSettings()
->get()) as $name) {
$value = $this
->getSettingValue($name);
if (isset($value)) {
$values[$name] = $value;
}
}
return $values;
}