constant PRIVATE_ALLOWED in Private content 8.2
2 uses of PRIVATE_ALLOWED
- PrivateItemList::checkTypeSetting in src/
Plugin/ Field/ FieldType/ PrivateItemList.php - Get the node's content type setting and check against the listed values.
- private_content_form_node_type_form_alter in ./
private_content.module - Implements hook_form_FORM_ID_alter().
File
- ./
private_content.module, line 29 - 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);