function StorableConfigBase::getStorage

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::getStorage()
  2. 10 core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::getStorage()
  3. 11.x core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::getStorage()

Retrieves the storage used to load and save this configuration object.

Return value

\Drupal\Core\Config\StorageInterface The configuration storage object.

File

core/lib/Drupal/Core/Config/StorableConfigBase.php, line 120

Class

StorableConfigBase
Provides a base class for configuration objects with storage support.

Namespace

Drupal\Core\Config

Code

public function getStorage() {
    return $this->storage;
}

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