You are here

public function UserInviteController::inviteUsers 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::inviteUsers()

Return value

array

1 string reference to 'UserInviteController::inviteUsers'
user_external_invite.routing.yml in ./user_external_invite.routing.yml
user_external_invite.routing.yml

File

src/Controller/UserInviteController.php, line 51

Class

UserInviteController

Namespace

Drupal\user_external_invite\Controller

Code

public function inviteUsers() {
  $this->inviteManager
    ->sendInvite('bull');
  $store = $this
    ->keyValue('ding')
    ->get('joop');
  $this->loggerChannelFactory
    ->get('default')
    ->debug($store);

  //return new Response($store);
  return [
    '#markup' => 'Page Content...',
  ];
}