You are here

public function CorrespondingReference::setFirstField in Corresponding Entity References 8.4

Sets the first corresponding reference field ID.

Parameters

string $firstField: The first corresponding reference field ID.

Return value

$this

Overrides CorrespondingReferenceInterface::setFirstField

File

src/Entity/CorrespondingReference.php, line 147

Class

CorrespondingReference
Defines a corresponding reference entity.

Namespace

Drupal\cer\Entity

Code

public function setFirstField($firstField) {
  $this->first_field = $firstField;
  return $this;
}