public function DistroIgnoreFilter::filterExists in Config Distro 8
File
- modules/
config_distro_ignore/ src/ Plugin/ ConfigFilter/ DistroIgnoreFilter.php, line 70
Class
- DistroIgnoreFilter
- Provides a ignore filter that resets config to the active one.
Namespace
Drupal\config_distro_ignore\Plugin\ConfigFilterCode
public function filterExists($name, $exists) {
// A name exists if it is ignored and exists in the active storage.
return $exists || $this
->matchConfigName($name) && $this
->getSourceStorage()
->exists($name);
}