public function SchemaStorage::exists

Implements \Drupal\Core\Config\StorageInterface::exists().

Overrides FileStorage::exists

File

drupal/core/lib/Drupal/Core/Config/Schema/SchemaStorage.php, line 21
Contains \Drupal\Core\Config\Schema\SchemaStorage.

Class

SchemaStorage
Defines the file storage controller for metadata files.

Namespace

Drupal\Core\Config\Schema

Code

public function exists($name) {
  return array_key_exists($name, $this
    ->getAllFolders());
}