Created
July 2, 2011 22:18
-
-
Save maciejzgadzaj/1061723 to your computer and use it in GitHub Desktop.
Implementation of hook_admin_paths_alter().
This file contains 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 | |
/** | |
* Implements hook_admin_paths_alter(). | |
*/ | |
function MYMODULE_admin_paths_alter(&$paths) { | |
$paths['node/*/edit'] = FALSE; | |
$paths['node/add'] = FALSE; | |
$paths['node/add/*'] = FALSE; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment