You are here

public function RegistrationLinkAccessCheck::__construct in Registration Link 8.2

RegistrationLinkAccessCheck constructor.

Parameters

\Drupal\Core\Config\ConfigFactory $configFactory: The Config Factory service.

File

src/Access/RegistrationLinkAccessCheck.php, line 31

Class

RegistrationLinkAccessCheck
Access check for user registration routes.

Namespace

Drupal\registration_link\Access

Code

public function __construct(ConfigFactory $configFactory) {
  $this->configFactory = $configFactory
    ->get('user.settings');
}