public function SocialAuthUserEvent::__construct in Social Auth 8
Constructs a new SocialAuthEvent.
Parameters
\Drupal\user\Entity\User $user: The user.
string $plugin_id: The plugin Id dispatching this event.
File
- src/
Event/ SocialAuthUserEvent.php, line 37
Class
- SocialAuthUserEvent
- Class SocialAuthEvent.
Namespace
Drupal\social_auth\EventCode
public function __construct(User $user, $plugin_id) {
$this->user = $user;
$this->pluginId = $plugin_id;
}