Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // $Id: page_example.module,v 1.13 2007/10/17 19:38:36 litwol Exp $
- function ehudkohome_perm() {
- return array('access foo', 'access baz');
- }
- function ehudkohome_menu() {
- $items['home'] = array(
- 'title' => 'Home Page',
- 'page callback' => 'ehudkohome_index',
- 'access arguments' => array('access home'),
- 'type' => MENU_SUGGESTED_ITEM,
- );
- return $items;
- }
- function ehudkohome_index() {
- return '<p>'. t('The quick brown fox jumps over the lazy dog.') .'</p>';
- }
Add Comment
Please, Sign In to add comment