public function MiniorangeFAQ::buildForm in OAuth2 Login 8
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 FormInterface::buildForm
File
- src/
Form/ MiniorangeFAQ.php, line 20 - Contains Attribute for miniOrange OAuth Client Module.
Class
Namespace
Drupal\oauth2_login\FormCode
public function buildForm(array $form, \Drupal\Core\Form\FormStateInterface $form_state) {
$html = "<div><object type='text/html' data='https://faq.miniorange.com/kb/oauth-openid-connect/' width='100%' height='600px' ></object></div>";
$form['text']['#markup'] = t($html);
return $form;
}