PHP Classes

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

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

Contents

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

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