You are here

function sendinblue_signup_entity_access in SendinBlue 7

Same name and namespace in other branches
  1. 7.2 sendinblue.module \sendinblue_signup_entity_access()

Check whether it is possible to access or not.

Return value

bool If current has logged_in, acces required, and is on SendInBlue loged-in status, return 1, else 0.

3 string references to 'sendinblue_signup_entity_access'
SendinBlueSignupUIController::hook_menu in includes/sendinblue_signup.ui_controller.inc
Overrides parent::hook_menu().
sendinblue_entity_info in ./sendinblue.module
Implements hook_entity_info().
sendinblue_menu in ./sendinblue.module
Implements hook_menu().

File

./sendinblue.module, line 209
The entry point of Sendinblue module.

Code

function sendinblue_signup_entity_access($access) {
  return user_is_logged_in() && user_access($access) && SendinblueManager::isLoggedInState();
}