You are here

ng_lightbox_test.module in NG Lightbox 7

Test module.

File

tests/modules/ng_lightbox_test/ng_lightbox_test.module
View source
<?php

/**
 * @file
 * Test module.
 */

/**
 * Implements hook_menu().
 */
function ng_lightbox_test_menu() {
  return array(
    'ng-lightbox-test' => array(
      'page callback' => 'ng_lightbox_test_page',
      'title' => 'Test page',
      'access callback' => TRUE,
    ),
  );
}
function ng_lightbox_test_page() {
  return print_r($_GET, TRUE);
}

Functions