function _pwa_config_value_split in Progressive Web App 7.2
4 calls to _pwa_config_value_split()
- pwa_update_7201 in ./
pwa.install - Rename variables and initialize the new ones.
- pwa_update_7204 in ./
pwa.install - Initialize the new variable for assets configuration.
- _pwa_config_value_explode in ./
pwa.module - _pwa_serviceworker_file in ./
pwa.module - Take the serviceworker template file and replace all the variables needed.
File
- ./
pwa.module, line 393
Code
function _pwa_config_value_split($variable, $default = '') {
$value = variable_get($variable, $default);
return array_filter((array) preg_split("/\r\n|\n|\r/", trim($value)));
}