public function UpdateManagerAccessCheck::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/update/src/Access/UpdateManagerAccessCheck.php \Drupal\update\Access\UpdateManagerAccessCheck::__construct()
- 9 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;
}