function UpdateManagerAccessCheck::__construct

Same name in other branches
  1. 9 core/modules/update/src/Access/UpdateManagerAccessCheck.php \Drupal\update\Access\UpdateManagerAccessCheck::__construct()
  2. 8.9.x core/modules/update/src/Access/UpdateManagerAccessCheck.php \Drupal\update\Access\UpdateManagerAccessCheck::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.