You are here

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

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

Set the entity type ID.

Parameters

string $entity_type_id: The entity type ID.

Return value

$this Return this operation record for chaining.

File

src/RngOperationRecord.php, line 74

Class

RngOperationRecord
Stores operations executed on an entity during a request.

Namespace

Drupal\rng

Code

public function setEntityTypeId($entity_type_id) {
  $this->entityTypeId = $entity_type_id;
  return $this;
}