public function RngOperationRecord::setOperation in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/RngOperationRecord.php \Drupal\rng\RngOperationRecord::setOperation()
- 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\rngCode
public function setOperation($operation) {
$this->operation = $operation;
return $this;
}