You are here

public function SourceStorage::exists in Configuration installer 8

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/Storage/SourceStorage.php, line 44

Class

SourceStorage
Wraps the sync storage so the config_installer can make modifications.

Namespace

Drupal\config_installer\Storage

Code

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