W3cubDocs

/Drupal 8

public function StorageComparerInterface::getSourceStorage

public StorageComparerInterface::getSourceStorage($collection = StorageInterface::DEFAULT_COLLECTION)

Gets the configuration source storage.

Parameters

string $collection: (optional) The storage collection to use. Defaults to the default collection.

Return value

\Drupal\Core\Config\StorageInterface Storage object used to read configuration.

File

core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 20

Class

StorageComparerInterface
Defines an interface for comparison of configuration storage objects.

Namespace

Drupal\Core\Config

Code

public function getSourceStorage($collection = StorageInterface::DEFAULT_COLLECTION);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!StorageComparerInterface.php/function/StorageComparerInterface::getSourceStorage/8.1.x