function DatabaseStorage::createCollection

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

Overrides StorageInterface::createCollection

File

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

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.