You are here

public function UpdateManagerAccessCheck::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/update/src/Access/UpdateManagerAccessCheck.php \Drupal\update\Access\UpdateManagerAccessCheck::__construct()
  2. 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\Access

Code

public function __construct(Settings $settings) {
  $this->settings = $settings;
}