public function ConfigDiffInterface::diff in Configuration Update Manager 8
Calculates differences between config.
The two arrays are "normalized" and split into lines to compare differences. 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
\Drupal\Component\Diff\Diff Diff object for displaying line-by-line differences between source and target config.
1 method overrides ConfigDiffInterface::diff()
- ConfigDiffer::diff in src/
ConfigDiffer.php - Calculates differences between config.
File
- src/
ConfigDiffInterface.php, line 44
Class
- ConfigDiffInterface
- Defines an interface for config differences.
Namespace
Drupal\config_updateCode
public function diff($source, $target);