Created
May 3, 2012 20:28
-
-
Save robballou/2589032 to your computer and use it in GitHub Desktop.
custom_content_pages example hook_menu() implementation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implement hook_menu() | |
*/ | |
function custom_content_pages_menu() { | |
$items['custom/%/about'] = array( | |
'page callback' => 'custom_content_pages_about', | |
'access arguments' => array('access content'), | |
); | |
$items['custom/%/children'] = array( | |
'page callback' => 'custom_content_pages_children', | |
'access arguments' => array('access content'), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment