You are here

public function GroupContentOperationPermission::getEntityType in Organic groups 8

Returns the group content entity type ID to which this permission applies.

Return value

string The group content entity type ID.

File

src/GroupContentOperationPermission.php, line 56

Class

GroupContentOperationPermission
A group level permission.

Namespace

Drupal\og

Code

public function getEntityType() {
  return $this
    ->get('entity type');
}