Posted By

chupzzz on 07/12/11


Tagged

drupal access


Versions (?)

Hide /node page from access (Drupal)


 / Published in: PHP
 

Here present basicaly usage example, but you can add some logic here if you want to grant access for someone.

  1. /**
  2. * Implementation of hook_menu_alter().
  3. */
  4. function yourmodule_menu_alter(&$items) {
  5. $items['node']['access callback'] = FALSE;
  6. }

Report this snippet  

You need to login to post a comment.