public function StorageComparerInterface::getTargetStorage in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/StorageComparerInterface.php \Drupal\Core\Config\StorageComparerInterface::getTargetStorage()
- 10 core/lib/Drupal/Core/Config/StorageComparerInterface.php \Drupal\Core\Config\StorageComparerInterface::getTargetStorage()
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.
1 method overrides StorageComparerInterface::getTargetStorage()
- StorageComparer::getTargetStorage in core/
lib/ Drupal/ Core/ Config/ StorageComparer.php - Gets the configuration target storage.
File
- core/
lib/ Drupal/ Core/ Config/ StorageComparerInterface.php, line 32
Class
- StorageComparerInterface
- Defines an interface for comparison of configuration storage objects.
Namespace
Drupal\Core\ConfigCode
public function getTargetStorage($collection = StorageInterface::DEFAULT_COLLECTION);