You are here

public function CorrespondingReference::setId in Corresponding Entity References 8.4

Sets the corresponding reference machine name.

Parameters

string $id: The machine name.

Return value

$this

Overrides CorrespondingReferenceInterface::setId

File

src/Entity/CorrespondingReference.php, line 115

Class

CorrespondingReference
Defines a corresponding reference entity.

Namespace

Drupal\cer\Entity

Code

public function setId($id) {
  $this->id = $id;
  return $this;
}