You are here

public function InviteManager::sendInvite in User External Invite 8

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

File

src/InviteManager.php, line 17

Class

InviteManager

Namespace

Drupal\user_external_invite

Code

public function sendInvite($message) {
  $key = $this->keyValueFactory
    ->get('ding');
  if ($this
    ->getDynamic()) {
    $key
      ->set('joop', $message);
    return;
  }
  $key
    ->set('joop', 'default');
}