You are here

constant PRIVATE_ALLOWED in Private 8.2

Same name and namespace in other branches
  1. 8 private_content.module \PRIVATE_ALLOWED
  2. 6 private.module \PRIVATE_ALLOWED
  3. 7.2 private.module \PRIVATE_ALLOWED
  4. 7 private.module \PRIVATE_ALLOWED
3 uses of PRIVATE_ALLOWED
private_content_form_node_type_form_alter in ./private_content.module
Implements hook_form_FORM_ID_alter().
private_content_get_default in ./private_content.module
Return default value for private field, based on the node's content type.
private_content_is_locked in ./private_content.module
Return whether private field is locked (not-writeable), based on the node's content type.

File

./private_content.module, line 36
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);