You are here

constant FieldPermissionTypeInterface::ACCESS_PRIVATE in Field Permissions 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/FieldPermissionTypeInterface.php \Drupal\field_permissions\Plugin\FieldPermissionTypeInterface::ACCESS_PRIVATE

Indicates that a field is using the private access permission type.

Private fields are never displayed, and are only editable by the author (and by site administrators with the 'access private fields' permission).

@internal

This is here as a helper since there are still special handling of the various plugins throughout this module.

See also

\Drupal\field_permissions\Plugin\FieldPermissionType\PrivateAccess

File

src/Plugin/FieldPermissionTypeInterface.php, line 37

Class

FieldPermissionTypeInterface
A field permission type plugin interface.

Namespace

Drupal\field_permissions\Plugin

Code

const ACCESS_PRIVATE = 'private';