You are here

public function UserAuthenticator::setPluginId in Social API 8.2

Same name and namespace in other branches
  1. 3.x src/User/UserAuthenticator.php \Drupal\social_api\User\UserAuthenticator::setPluginId()

Sets the implementer plugin id.

This value is used to generate customized logs, messages, and event dispatchers.

Parameters

string $plugin_id: The plugin id.

File

src/User/UserAuthenticator.php, line 114

Class

UserAuthenticator
Manages Drupal authentication tasks for Social API.

Namespace

Drupal\social_api\User

Code

public function setPluginId($plugin_id) {
  $this->pluginId = $plugin_id;
  $this->userManager
    ->setPluginId($plugin_id);
}