public function MemcacheSettings::__construct in Memcache API and Integration 8.2
Constructor.
Parameters
\Drupal\Core\Site\Settings $settings: The site settings instance.
File
- src/
MemcacheSettings.php, line 25
Class
- MemcacheSettings
- Class for holding Memcache related config.
Namespace
Drupal\memcacheCode
public function __construct(Settings $settings) {
$this->settings = $settings
->get('memcache', []);
}