You are here

public function SecondaryContactConnectionPermission::getPermissionKey in RedHen CRM 8

Get the entity key.

Return value

string String representation of entity type for the permissions form.

Overrides ConnectionPermissionBase::getPermissionKey

1 call to SecondaryContactConnectionPermission::getPermissionKey()
SecondaryContactConnectionPermission::hasRolePermissions in modules/redhen_connection/src/Plugin/ConnectionPermission/SecondaryContactConnectionPermission.php
Determine if the contact execute the operation on the subject entity.

File

modules/redhen_connection/src/Plugin/ConnectionPermission/SecondaryContactConnectionPermission.php, line 28

Class

SecondaryContactConnectionPermission
Provide permission for contacts that share a redhen_connection.

Namespace

Drupal\redhen_connection\Plugin\ConnectionPermission

Code

public function getPermissionKey() {
  return 'contact';
}