You are here

public function SplitFilter::filterGetAllCollectionNames in Configuration Split 8

File

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

Class

SplitFilter
Provides a SplitFilter.

Namespace

Drupal\config_split\Plugin\ConfigFilter

Code

public function filterGetAllCollectionNames(array $collections) {
  if ($this->secondaryStorage) {
    $collections = array_unique(array_merge($collections, $this->secondaryStorage
      ->getAllCollectionNames()));
  }
  return $collections;
}