public function UpdateManagerAccessCheck::__construct in Drupal 8
Same name and namespace in other branches
- 9 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 a 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;
}