Thanks for the great module!
admin/config/development/config_log, field "Configuration entity names to ignore"
The description says:
One configuration name per line.
Examples:user.settings
views.settings
contact.settings
This seems to suggest each individual config name should be listed.
Nevertheless, the code seems to suggest that * wildcards are supported:
public function isIgnored($config_name) {
$ignored_entities = $this->configFactory->get('config_log.settings')->get('log_ignored_config');
if (!empty($ignored_entities)) {
foreach ($ignored_entities as $ignore) {
$pattern = '/^' . preg_quote($ignore, '/') . '$/';
$pattern = str_replace('\*', '.*', $pattern);
if (preg_match($pattern, $config_name)) {
return TRUE;
}
}
}
return FALSE;
}
So e.g.
user.*
*.settings
Is this correct and if this is the case, could the documentation be updated? Thanks!
Comments
Comment #2
nagy.balint commentedIt seems to be the case.
Comment #4
nagy.balint commented