public function UpdateManagerAccessCheck::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/update/src/Access/UpdateManagerAccessCheck.php \Drupal\update\Access\UpdateManagerAccessCheck::__construct()
- 10 core/modules/update/src/Access/UpdateManagerAccessCheck.php \Drupal\update\Access\UpdateManagerAccessCheck::__construct()
Constructs an UpdateManagerAccessCheck object.
Parameters
\Drupal\Core\Site\Settings $settings: The read-only settings container.
File
- core/
modules/ update/ src/ Access/ UpdateManagerAccessCheck.php, line 27
Class
- UpdateManagerAccessCheck
- Determines whether allow authorized operations is set.
Namespace
Drupal\update\AccessCode
public function __construct(Settings $settings) {
$this->settings = $settings;
}