function bg_image_formatter_extract_settings_values in Background Images Formatter 7.2
Get the settings values in array format.
2 calls to bg_image_formatter_extract_settings_values()
File
- ./
bg_image_formatter.helpers.inc, line 11 - Helper functions.
Code
function bg_image_formatter_extract_settings_values(array $settings, $key) {
if (isset($settings[$key])) {
return array_filter(array_map(function ($value) {
return trim(strip_tags($value), ',');
}, explode(PHP_EOL, trim($settings[$key]))));
}
}