You are here

public static function Utilities::visual_tour_start in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

4 calls to Utilities::visual_tour_start()
Mapping::buildForm in src/Form/Mapping.php
Form constructor.
MiniorangeIDPSetup::buildForm in src/Form/MiniorangeIDPSetup.php
Form constructor.
MiniorangeSPInformation::buildForm in src/Form/MiniorangeSPInformation.php
Form constructor.
MiniornageAdvanceSettings::buildForm in src/Form/MiniornageAdvanceSettings.php
Form constructor.

File

src/Utilities.php, line 31

Class

Utilities
This file is part of miniOrange SAML plugin.

Namespace

Drupal\miniorange_saml

Code

public static function visual_tour_start(array &$form, FormStateInterface $form_state) {
  $form['miniorange_saml_tour_button'] = array(
    '#attached' => array(
      'library' => array(
        'miniorange_saml/miniorange_saml.Vtour',
      ),
    ),
  );
  $overAllTour = 'overAllTour';
  $moTour = mo_saml_visualTour::genArray();
  $overAllTour = mo_saml_visualTour::genArray($overAllTour);
  $form['tourArray'] = array(
    '#type' => 'hidden',
    '#value' => $moTour,
  );
  $form['tabtourArray'] = array(
    '#type' => 'hidden',
    '#value' => $overAllTour,
  );
}