public function StorageComparerInterface::getTargetStorage

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

Gets the configuration target 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 write configuration.

File

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

Class

StorageComparerInterface
Defines an interface for comparison of configuration storage objects.

Namespace

Drupal\Core\Config

Code

public function getTargetStorage($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::getTargetStorage/8.1.x