function TestSandboxDatabaseUpdatesValidator::setState
Same name and namespace in other branches
- main core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php \Drupal\package_manager_test_validation\TestSandboxDatabaseUpdatesValidator::setState()
Sets the state service dependency.
Parameters
\Drupal\Core\State\StateInterface $state: The state service.
File
-
core/
modules/ package_manager/ tests/ modules/ package_manager_test_validation/ src/ TestSandboxDatabaseUpdatesValidator.php, line 29
Class
- TestSandboxDatabaseUpdatesValidator
- Allows tests to dictate which extensions have staged database updates.
Namespace
Drupal\package_manager_test_validationCode
public function setState(StateInterface $state) : void {
$this->state = $state;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.