You are here

public function SendinblueController::access in SendinBlue 8

Same name and namespace in other branches
  1. 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'
sendinblue.routing.yml in ./sendinblue.routing.yml
sendinblue.routing.yml

File

src/Controller/SendinblueController.php, line 47

Class

SendinblueController
Returns responses for entity browser routes.

Namespace

Drupal\sendinblue\Controller

Code

public function access(AccountInterface $account) {
  return AccessResult::allowedIf($this->sendinblueManager
    ->isLoggedInState());
}