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