You are here

public static function Utilities::faq in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 8

2 calls to Utilities::faq()
Utilities::nofeaturelisted in src/Utilities.php
Utilities::spConfigGuide in src/Utilities.php
Shows block to configure various oauth servers

File

src/Utilities.php, line 333

Class

Utilities

Namespace

Drupal\miniorange_oauth_client

Code

public static function faq(&$form, &$form_state) {
  $form['miniorange_oauth_faq_button_css'] = array(
    '#attached' => array(
      'library' => 'miniorange_oauth_client/miniorange_oauth_client.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>',
  );
}