You are here

public function SendinblueManager::isLoggedInState in SendinBlue 8.2

Same name and namespace in other branches
  1. 8 src/SendinblueManager.php \Drupal\sendinblue\SendinblueManager::isLoggedInState()

Check if current state is logged in.

Return value

bool A status of login of user.

File

src/SendinblueManager.php, line 393

Class

SendinblueManager
Basic manager of module.

Namespace

Drupal\sendinblue

Code

public function isLoggedInState() {
  $access_key = $this
    ->getAccessKey();
  if (!empty($access_key)) {
    return TRUE;
  }
  return FALSE;
}