You are here

public static function Utilities::faq in OAuth2 Login 8

1 call to Utilities::faq()
Utilities::spConfigGuide in src/Utilities.php
Shows block to configure various oauth servers

File

src/Utilities.php, line 284

Class

Utilities

Namespace

Drupal\oauth2_login

Code

public static function faq(&$form, &$form_state) {
  $form['miniorange_oauth_faq_button_css'] = array(
    '#attached' => array(
      'library' => 'oauth2_login/oauth2_login.style_settings',
    ),
  );
  $form['miniorange_faq'] = array(
    '#markup' => '<br><div class="mo_saml_text_center"><b></b>
                          <a class="mo_oauth_btn1 mo_oauth_btn-primary-faq mo_oauth_btn-large mo_faq_button_left" href="https://faq.miniorange.com/kb/oauth-openid-connect/" target="_blank">FAQs</a>
                          <b></b><a class="mo_oauth_btn1 mo_oauth_btn-primary-faq mo_oauth_btn-large mo_faq_button_right" href="https://forum.miniorange.com/" target="_blank">Ask questions on forum</a></div>',
  );
}