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\Update
Code
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; }
Please login to continue.