You are here

public function RngOperationRecord::setOperation in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/RngOperationRecord.php \Drupal\rng\RngOperationRecord::setOperation()
  2. 8 src/RngOperationRecord.php \Drupal\rng\RngOperationRecord::setOperation()

Sets the operation executed on this entity.

Parameters

string $operation: The operation executed on this entity.

Return value

$this Return this operation record for chaining.

File

src/RngOperationRecord.php, line 50

Class

RngOperationRecord
Stores operations executed on an entity during a request.

Namespace

Drupal\rng

Code

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