public function SendinblueController::access in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Controller/SendinblueController.php \Drupal\sendinblue\Controller\SendinblueController::access()
Checks access for a specific request.
Parameters
\Drupal\Core\Session\AccountInterface $account: Run access checks for this account.
1 string reference to 'SendinblueController::access'
File
- src/
Controller/ SendinblueController.php, line 47
Class
- SendinblueController
- Returns responses for entity browser routes.
Namespace
Drupal\sendinblue\ControllerCode
public function access(AccountInterface $account) {
return AccessResult::allowedIf($this->sendinblueManager
->isLoggedInState());
}