function StorageComparerInterface::getSourceStorage
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/StorageComparerInterface.php \Drupal\Core\Config\StorageComparerInterface::getSourceStorage()
- 10 core/lib/Drupal/Core/Config/StorageComparerInterface.php \Drupal\Core\Config\StorageComparerInterface::getSourceStorage()
- 11.x core/lib/Drupal/Core/Config/StorageComparerInterface.php \Drupal\Core\Config\StorageComparerInterface::getSourceStorage()
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.
1 method overrides StorageComparerInterface::getSourceStorage()
- StorageComparer::getSourceStorage in core/
lib/ Drupal/ Core/ Config/ StorageComparer.php - Gets the configuration source storage.
File
-
core/
lib/ Drupal/ Core/ Config/ StorageComparerInterface.php, line 20
Class
- StorageComparerInterface
- Defines an interface for comparison of configuration storage objects.
Namespace
Drupal\Core\ConfigCode
public function getSourceStorage($collection = StorageInterface::DEFAULT_COLLECTION);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.