public function ReversibleConfigDiffer::__construct in Update helper 2.x
Same name and namespace in other branches
- 8 src/ReversibleConfigDiffer.php \Drupal\update_helper\ReversibleConfigDiffer::__construct()
ConfigDiffer constructor.
Parameters
\Drupal\Core\StringTranslation\TranslationInterface $translation: String translation service.
\Drupal\update_helper\ConfigDiffTransformer $config_diff_transformer: Configuration transformer for diffing.
string[] $ignore: Config components to ignore.
string $hierarchy_prefix: Prefix to use in diffs for array hierarchy.
string $value_prefix: Prefix to use in diffs for array value.
File
- src/
ReversibleConfigDiffer.php, line 44
Class
- ReversibleConfigDiffer
- Overwrite of config updater differ.
Namespace
Drupal\update_helperCode
public function __construct(TranslationInterface $translation, ConfigDiffTransformer $config_diff_transformer, array $ignore = [
'uuid',
'_core',
], $hierarchy_prefix = '::', $value_prefix = ' : ') {
parent::__construct($translation, $ignore, $hierarchy_prefix, $value_prefix);
$this->configDiffTransformer = $config_diff_transformer;
}