You are here

constant PRIVATE_ALWAYS in Private content 8.2

2 uses of PRIVATE_ALWAYS
PrivateItemList::getDefault in src/Plugin/Field/FieldType/PrivateItemList.php
Return default value of private field, based on the node's content type.
PrivateItemList::isLocked in src/Plugin/Field/FieldType/PrivateItemList.php
Return whether private field is locked (not-writeable), based on the node's content type.

File

./private_content.module, line 31
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_ALWAYS', 3);