You are here

public function EntityOperationEvent::setOperations in Hook Event Dispatcher 8

Set the operations.

Parameters

array $operations: An array of operations.

File

src/Event/Entity/EntityOperationEvent.php, line 65

Class

EntityOperationEvent
Class EntityLoadEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

public function setOperations(array $operations) {
  $this->operations = $operations;
}