You are here

public function SendinblueManager::generateHomeLogout in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/SendinblueManager.php \Drupal\sendinblue\SendinblueManager::generateHomeLogout()

Generate Home layout of Log out.

Return value

array A html of home page when log out.

File

src/SendinblueManager.php, line 297

Class

SendinblueManager
Basic manager of module.

Namespace

Drupal\sendinblue

Code

public function generateHomeLogout() {
  $form = $this->formBuilder
    ->getForm(ConfigurationSendinblueForm::class);
  return [
    '#formulaire_api_key' => $this->renderer
      ->render($form),
  ];
}