public function LogoutForm::buildForm in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Form/LogoutForm.php \Drupal\sendinblue\Form\LogoutForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides ConfigFormBase::buildForm
File
- src/
Form/ LogoutForm.php, line 35
Class
- LogoutForm
- Class Form Transactionnal emails SMTP.
Namespace
Drupal\sendinblue\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['submit'] = [
'#type' => 'submit',
'#value' => $this
->t('Logout Sendinblue'),
];
return $form;
}