You are here

public function CasAutoAssignRolesSubscriber::__construct in CAS 8

Same name and namespace in other branches
  1. 2.x src/Subscriber/CasAutoAssignRolesSubscriber.php \Drupal\cas\Subscriber\CasAutoAssignRolesSubscriber::__construct()

CasAutoAssignRoleSubscriber constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config: A config factory instance.

File

src/Subscriber/CasAutoAssignRolesSubscriber.php, line 28

Class

CasAutoAssignRolesSubscriber
Provides a CasAutoAssignRoleSubscriber.

Namespace

Drupal\cas\Subscriber

Code

public function __construct(ConfigFactoryInterface $config) {
  $this->settings = $config
    ->get('cas.settings');
}