You are here

public function FileStorage::createCollection in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::createCollection()
  2. 9 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::createCollection()

File

core/lib/Drupal/Core/Config/FileStorage.php, line 261

Class

FileStorage
Defines the file storage.

Namespace

Drupal\Core\Config

Code

public function createCollection($collection) {
  return new static($this->directory, $collection);
}