You are here

public function GroupContentEntityOperationAccessEvent::getOperation in Organic groups 8

Returns the entity operation being performed.

Return value

string The entity operation, such as 'create', 'update' or 'delete'.

Overrides GroupContentEntityOperationAccessEventInterface::getOperation

File

src/Event/GroupContentEntityOperationAccessEvent.php, line 50

Class

GroupContentEntityOperationAccessEvent
Event that determines access to group content entity operations.

Namespace

Drupal\og\Event

Code

public function getOperation() : string {
  return $this->operation;
}