PHP Classes

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

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/core/gallery/gallery.hook.inc   Download  
File: engine/modules/core/gallery/gallery.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: 351 bytes
 

Contents

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