public function ReversibleConfigDiffer::stripIgnore in Update helper 2.x
Same name and namespace in other branches
- 8 src/ReversibleConfigDiffer.php \Drupal\update_helper\ReversibleConfigDiffer::stripIgnore()
Strip some generic fields (uuid, _core).
Parameters
mixed $data: Configuration array.
Return value
mixed Returns stripped configuration.
2 calls to ReversibleConfigDiffer::stripIgnore()
File
- src/
ReversibleConfigDiffer.php, line 59
Class
- ReversibleConfigDiffer
- Overwrite of config updater differ.
Namespace
Drupal\update_helperCode
public function stripIgnore($data) {
foreach ($this->ignore as $element) {
unset($data[$element]);
}
return $data;
}