You are here

public function IgnoreFilter::filterExists in Config Ignore 8.2

File

src/Plugin/ConfigFilter/IgnoreFilter.php, line 198

Class

IgnoreFilter
Provides a ignore filter that reads partly from the active storage.

Namespace

Drupal\config_ignore\Plugin\ConfigFilter

Code

public function filterExists($name, $exists) {

  // A name exists if it is ignored and exists in the active storage.
  return $exists || $this
    ->matchConfigName($name) && $this->active
    ->exists($name);
}