public function IgnoreFilter::filterListAll in Config Ignore 8.2
File
- src/
Plugin/ ConfigFilter/ IgnoreFilter.php, line 218
Class
- IgnoreFilter
- Provides a ignore filter that reads partly from the active storage.
Namespace
Drupal\config_ignore\Plugin\ConfigFilterCode
public function filterListAll($prefix, array $data) {
$active_names = $this->active
->listAll($prefix);
// Filter out only ignored config names.
$active_names = array_filter($active_names, [
$this,
'matchConfigName',
]);
// Return the data with the active names which are ignored merged in.
return array_unique(array_merge($data, $active_names));
}