You are here

public function SendinblueController::statisticsPage in SendinBlue 8.2

Same name and namespace in other branches
  1. 8 src/Controller/SendinblueController.php \Drupal\sendinblue\Controller\SendinblueController::statisticsPage()

Return page for statistics page (Iframe Sib)

1 string reference to 'SendinblueController::statisticsPage'
sendinblue.routing.yml in ./sendinblue.routing.yml
sendinblue.routing.yml

File

src/Controller/SendinblueController.php, line 107

Class

SendinblueController
Returns responses for entity browser routes.

Namespace

Drupal\sendinblue\Controller

Code

public function statisticsPage() {
  $listPage_controller['#theme'] = 'iframe_page';
  $listPage_controller['#url_iframe'] = [
    '#plain_text' => $this->sendinblueManager
      ->generateStatisticLogin(),
  ];
  return $listPage_controller;
}