You are here

public function SplitCollectionStorage::exists in Configuration Split 2.0.x

Returns whether a configuration object exists.

Parameters

string $name: The name of a configuration object to test.

Return value

bool TRUE if the configuration object exists, FALSE otherwise.

Overrides StorageInterface::exists

File

src/Config/SplitCollectionStorage.php, line 57

Class

SplitCollectionStorage
A config storage that lives in a collection of another config storage.

Namespace

Drupal\config_split\Config

Code

public function exists($name) {
  return $this
    ->getStorage()
    ->exists($name);
}