You are here

public function QueryAccessEvent::getOperation in Entity API 8

Gets the operation.

Return value

string The operation. Usually one of "view", "update" or "delete".

File

src/QueryAccess/QueryAccessEvent.php, line 95

Class

QueryAccessEvent
Defines the query access event.

Namespace

Drupal\entity\QueryAccess

Code

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