You are here

public function SplitFilter::filterExists in Configuration Split 8

File

src/Plugin/ConfigFilter/SplitFilter.php, line 236

Class

SplitFilter
Provides a SplitFilter.

Namespace

Drupal\config_split\Plugin\ConfigFilter

Code

public function filterExists($name, $exists) {
  if (!$exists && $this->secondaryStorage) {
    $exists = $this->secondaryStorage
      ->exists($name);
  }
  return $exists;
}