jquery_fireworks-1.0.1/jquery_fireworks.module

jquery_fireworks.module
<?php

/**
 * @file
 * Primary module hooks for Jquery Fireworks module.
 */

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function jquery_fireworks_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.jquery_fireworks':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Jquery Fireworks module provides a block and has to assign this block to any block area. This module does not depend on any external JavaScript library or PHP library.') . '</p>';
      $output .= '<h3>' . t('Configuration') . '</h3>';
      $output .= '<ol>
  <li>Install the module "Jquery Fireworks".</li>
  <li>Go to the “Block Layout”. Eg:- Admin Menu >> structure >> block layout</li>
  <li>Go to your block region where you want to put it.</li>
  <li>Click the "Place block" button and in the modal dialog click the "Place block" button next to "Canvas based fireworks".</li>
  <li>Click on the Save block button.</li>
</ol>';
      return $output;
  }
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc