function DatabaseStorage::createCollection

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/DatabaseStorage.php \Drupal\Core\Config\DatabaseStorage::createCollection()
  2. 8.9.x core/lib/Drupal/Core/Config/DatabaseStorage.php \Drupal\Core\Config\DatabaseStorage::createCollection()
  3. 10 core/lib/Drupal/Core/Config/DatabaseStorage.php \Drupal\Core\Config\DatabaseStorage::createCollection()

Overrides StorageInterface::createCollection

File

core/lib/Drupal/Core/Config/DatabaseStorage.php, line 315

Class

DatabaseStorage
Defines the Database storage.

Namespace

Drupal\Core\Config

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.