PHP Classes

File: engine/modules/core/jumper/jumper.hook.inc

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/core/jumper/jumper.hook.inc   Download  
File: engine/modules/core/jumper/jumper.hook.inc
Role: Example script
Content type: text/plain
Description: Example script
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 300 bytes
 

Contents

Class file image Download
<?php
/**
 * Implements hook_load_includes().
 *
 * @param Environment $env
 * The Environment.
 * @param array $vars
 * An array of variables.
 */
function jumper_load_includes($env, $vars) {
 
$module_path = $env->getModulePath('jumper');

 
$env->addInclude($module_path . '/js/jumper.js');
}