public static function UserInviteController::create in User External Invite 8
Same name and namespace in other branches
- 2.0.x src/Controller/UserInviteController.php \Drupal\user_external_invite\Controller\UserInviteController::create()
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
Return value
static
Overrides ControllerBase::create
File
- src/
Controller/ UserInviteController.php, line 39
Class
Namespace
Drupal\user_external_invite\ControllerCode
public static function create(ContainerInterface $container) {
$invite_manager = $container
->get('user_external_invite.invite_manager');
$logger_factory = $container
->get('logger.factory');
return new static($invite_manager, $logger_factory);
}