public function FlysystemFactory::getSettings in Flysystem 8
Same name and namespace in other branches
- 7 src/FlysystemFactory.php \Drupal\flysystem\FlysystemFactory::getSettings()
- 3.x src/FlysystemFactory.php \Drupal\flysystem\FlysystemFactory::getSettings()
- 2.0.x src/FlysystemFactory.php \Drupal\flysystem\FlysystemFactory::getSettings()
- 3.0.x src/FlysystemFactory.php \Drupal\flysystem\FlysystemFactory::getSettings()
Finds the settings for a given scheme.
Parameters
string $scheme: The scheme.
Return value
array The settings array from settings.php.
2 calls to FlysystemFactory::getSettings()
- FlysystemFactory::getAdapter in src/
FlysystemFactory.php - Returns the adapter for a scheme.
- FlysystemFactory::getPlugin in src/
FlysystemFactory.php - Returns the plugin for a scheme.
File
- src/
FlysystemFactory.php, line 164
Class
- FlysystemFactory
- A factory for Flysystem filesystems.
Namespace
Drupal\flysystemCode
public function getSettings($scheme) {
return isset($this->settings[$scheme]) ? $this->settings[$scheme] : $this->defaults;
}