You are here

public function AuthenticationByUser::__construct in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Controller/AuthenticationByUser.php \Drupal\cms_content_sync\Controller\AuthenticationByUser::__construct()
  2. 2.0.x src/Controller/AuthenticationByUser.php \Drupal\cms_content_sync\Controller\AuthenticationByUser::__construct()

Constructs a new EntityListBuilder object.

Parameters

\Drupal\user\Entity\UserDataInterface $user_data:

File

src/Controller/AuthenticationByUser.php, line 43

Class

AuthenticationByUser
Class AuthenticationByUser.

Namespace

Drupal\cms_content_sync\Controller

Code

public function __construct(KeyValueDatabaseFactory $key_value_database, UserDataInterface $user_data) {
  $this->keyValueDatabase = $key_value_database;
  $this->userData = $user_data;
}