You are here

public function ConfigDiffInterface::same in Configuration Update Manager 8

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.

1 method overrides ConfigDiffInterface::same()
ConfigDiffer::same in src/ConfigDiffer.php
Decides if two configuration arrays are considered to be the same.

File

src/ConfigDiffInterface.php, line 26

Class

ConfigDiffInterface
Defines an interface for config differences.

Namespace

Drupal\config_update

Code

public function same($source, $target);