You are here

public function RngOperationRecord::setEntityId in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/RngOperationRecord.php \Drupal\rng\RngOperationRecord::setEntityId()
  2. 3.x 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\rng

Code

public function setEntityId($entity_id) {
  $this->entityId = $entity_id;
  return $this;
}