You are here

public function UserInviteController::__construct in User External Invite 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/UserInviteController.php \Drupal\user_external_invite\Controller\UserInviteController::__construct()

UserInviteController constructor.

Parameters

\Drupal\user_external_invite\InviteManager $inviteManager:

\Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerChannelFactory:

File

src/Controller/UserInviteController.php, line 28

Class

UserInviteController

Namespace

Drupal\user_external_invite\Controller

Code

public function __construct(InviteManager $inviteManager, LoggerChannelFactoryInterface $loggerChannelFactory) {
  $this->loggerChannelFactory = $loggerChannelFactory;
  $this->inviteManager = $inviteManager;
}