You are here

public static function SendinblueManager::isLoggedInState in SendinBlue 7

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

Check if current state is logged in.

Return value

bool A status of login of user.

2 calls to SendinblueManager::isLoggedInState()
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 215
Manage class file.

Class

SendinblueManager
Basic manager of module.

Code

public static function isLoggedInState() {
  $access_key = variable_get(self::ACCESS_KEY, '');
  if ($access_key != '') {
    return TRUE;
  }
  return FALSE;
}