You are here

public function EntityLegalDocumentInterface::getPermissionView in Entity Legal 3.0.x

Same name and namespace in other branches
  1. 8.2 src/EntityLegalDocumentInterface.php \Drupal\entity_legal\EntityLegalDocumentInterface::getPermissionView()
  2. 4.0.x src/EntityLegalDocumentInterface.php \Drupal\entity_legal\EntityLegalDocumentInterface::getPermissionView()

Get the permission name for any user viewing this agreement.

Return value

string The user permission, used with user_access.

1 method overrides EntityLegalDocumentInterface::getPermissionView()
EntityLegalDocument::getPermissionView in src/Entity/EntityLegalDocument.php
Get the permission name for any user viewing this agreement.

File

src/EntityLegalDocumentInterface.php, line 69

Class

EntityLegalDocumentInterface
Interface EntityLegalDocumentInterface.

Namespace

Drupal\entity_legal

Code

public function getPermissionView();