Lines Matching defs:replacements
18 /** @var array default replacements to be merged with custom style configs */
57 * @return array with keys 'stylesheets' and 'replacements'
71 $replacements = $this->defaultReplacements;
84 $combined['replacements'] = [];
112 if (isset($config['replacements']) && is_array($config['replacements'])) {
113 $replacements = array_replace(
114 $replacements,
115 $this->cssFixreplacementurls($config['replacements'], $webbase)
117 $combined['replacements'] = array_merge($combined['replacements'], $replacements);
178 * @param array $replacements with key-value pairs
182 protected function cssFixreplacementurls($replacements, $location)
184 foreach ($replacements as $key => $value) {
185 $replacements[$key] = preg_replace(
191 return $replacements;