You are here

constant PRIVATE_ALLOWED in Private 7

Same name and namespace in other branches
  1. 8.2 private_content.module \PRIVATE_ALLOWED
  2. 8 private_content.module \PRIVATE_ALLOWED
  3. 6 private.module \PRIVATE_ALLOWED
  4. 7.2 private.module \PRIVATE_ALLOWED
2 uses of PRIVATE_ALLOWED
private_form_alter in ./private.module
Implements hook_form_alter().
private_form_node_type_form_alter in ./private.module
Implements hook_form_FORM_ID_alter().

File

./private.module, line 11
A tremendously simple access control module -- it allows users to mark individual nodes as private; users with 'access private content' perms can read these nodes, while others cannot.

Code

define('PRIVATE_ALLOWED', 1);