less_demo.module 592 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Implements hook_menu().
  4. */
  5. function less_demo_menu() {
  6. $items = array();
  7. $items['admin/config/development/less/demo'] = array(
  8. 'title' => 'LESS Demo',
  9. 'description' => 'Demonstration for less features',
  10. 'page callback' => '_less_demo_page',
  11. 'access arguments' => array(LESS_PERMISSION),
  12. 'file' => 'less_demo.demo_page.inc',
  13. 'type' => MENU_LOCAL_TASK,
  14. 'weight' => 1,
  15. );
  16. return $items;
  17. }
  18. /**
  19. * Implements hook_admin_paths().
  20. */
  21. function less_demo_admin_paths() {
  22. return array(
  23. 'admin/config/development/less/demo' => FALSE,
  24. );
  25. }