public function ReversibleConfigDiffer::same in Update helper 8
Same name and namespace in other branches
- 2.x src/ReversibleConfigDiffer.php \Drupal\update_helper\ReversibleConfigDiffer::same()
Decides if two configuration arrays are considered to be the same.
The two arrays are considered to be the same if, after "normalizing", they have the same keys and values. It is up to the particular implementing class to decide what normalizing means.
Parameters
array|null $source: Source config.
array|null $target: Target config.
Return value
bool TRUE if the source and target are the same, and FALSE if they are different.
Overrides ConfigDiffer::same
File
- src/
ReversibleConfigDiffer.php, line 94
Class
- ReversibleConfigDiffer
- Overwrite of config updater differ.
Namespace
Drupal\update_helperCode
public function same($source, $target) {
$source = $this
->stripIgnore($source);
$target = $this
->stripIgnore($target);
return parent::same($source, $target);
}