protected function ConfigHandler::filterDiff in Update helper 8
Same name and namespace in other branches
- 2.x src/ConfigHandler.php \Drupal\update_helper\ConfigHandler::filterDiff()
Filter diffs that are not relevant, where configuration is equal.
Parameters
array $diffs: List of diff edits.
Return value
array Return list of filtered diffs.
1 call to ConfigHandler::filterDiff()
- ConfigHandler::generatePatchFile in src/
ConfigHandler.php - Generate patch from changed configuration.
File
- src/
ConfigHandler.php, line 224
Class
- ConfigHandler
- Configuration handler.
Namespace
Drupal\update_helperCode
protected function filterDiff(array $diffs) {
return array_filter($diffs, function ($diffOp) {
return $diffOp->type != 'copy';
});
}