You are here

public function SendinblueController::listCampaigns in SendinBlue 8.2

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

Return page for compaigns page (Iframe Sib)

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

File

src/Controller/SendinblueController.php, line 95

Class

SendinblueController
Returns responses for entity browser routes.

Namespace

Drupal\sendinblue\Controller

Code

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