public function UpdateRegistry::__construct
public UpdateRegistry::__construct($root, $site_path, array $enabled_modules, KeyValueStoreInterface $key_value, $include_tests = NULL)
Constructs a new UpdateRegistry.
Parameters
string $root: The app root.
string $site_path: The site path.
string[] $enabled_modules: A list of enabled modules.
\Drupal\Core\KeyValueStore\KeyValueStoreInterface $key_value: The key value store.
bool|NULL $include_tests: (optional) A flag whether to include tests in the scanning of modules.
File
- core/lib/Drupal/Core/Update/UpdateRegistry.php, line 81
Class
- UpdateRegistry
- Provides all and missing update implementations.
Namespace
Drupal\Core\UpdateCode
public function __construct($root, $site_path, array $enabled_modules, KeyValueStoreInterface $key_value, $include_tests = NULL) { $this->root = $root; $this->sitePath = $site_path; $this->enabledModules = $enabled_modules; $this->keyValue = $key_value; $this->includeTests = $include_tests; }
© 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!Update!UpdateRegistry.php/function/UpdateRegistry::__construct/8.1.x