public function EntityOperationEvent::setOperations in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityOperationEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityOperationEvent::setOperations()
Set the operations.
Parameters
array $operations: An array of operations.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityOperationEvent.php, line 65
Class
- EntityOperationEvent
- Class EntityLoadEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function setOperations(array $operations) : void {
$this->operations = $operations;
}