public function RngOperationRecord::setEntityId in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/RngOperationRecord.php \Drupal\rng\RngOperationRecord::setEntityId()
- 8 src/RngOperationRecord.php \Drupal\rng\RngOperationRecord::setEntityId()
Set the entity ID.
Parameters
string $entity_id: Sets the entity ID.
Return value
$this Return this operation record for chaining.
File
- src/
RngOperationRecord.php, line 98
Class
- RngOperationRecord
- Stores operations executed on an entity during a request.
Namespace
Drupal\rngCode
public function setEntityId($entity_id) {
$this->entityId = $entity_id;
return $this;
}