public function ReversibleConfigDiffer::stripIgnore in Update helper 8
Same name and namespace in other branches
- 2.x 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()
- ReversibleConfigDiffer::diff in src/
ReversibleConfigDiffer.php - Calculates differences between config.
- ReversibleConfigDiffer::same in src/
ReversibleConfigDiffer.php - Decides if two configuration arrays are considered to be the same.
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;
}