You are here

public static function SendinblueManager::isLoggedInState in SendinBlue 7.2

Same name and namespace in other branches
  1. 7 includes/sendinblue.manage.inc \SendinblueManager::isLoggedInState()

Check if current state is logged in.

Return value

bool A status of login of user.

3 calls to SendinblueManager::isLoggedInState()
sendiblue_custom_iframe_access in ./sendinblue.module
Check whether it is possible to access or not.
sendinblue_home_page in includes/sendinblue_home.admin.inc
Display Home page of module.
sendinblue_signup_entity_access in ./sendinblue.module
Check whether it is possible to access or not.

File

includes/sendinblue.manage.inc, line 172
Manage class file.

Class

SendinblueManager
Basic manager of module.

Code

public static function isLoggedInState() {
  $sendInBlueConfigFactory = new SendInBlueConfigFactory();
  if ($sendInBlueConfigFactory
    ->getAccessKey()) {
    return TRUE;
  }
  return FALSE;
}