function MockPhpStorage::__construct
Same name in other branches
- 9 core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::__construct()
- 8.9.x core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::__construct()
- 11.x core/modules/system/src/PhpStorage/MockPhpStorage.php \Drupal\system\PhpStorage\MockPhpStorage::__construct()
Constructs a MockPhpStorage object.
Parameters
array $configuration: The storage configuration.
File
-
core/
modules/ system/ src/ PhpStorage/ MockPhpStorage.php, line 23
Class
- MockPhpStorage
- Mock PHP storage class used for testing.
Namespace
Drupal\system\PhpStorageCode
public function __construct(array $configuration) {
$this->configuration = $configuration;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.