You are here

public function CorrespondingReference::setSecondField in Corresponding Entity References 8.4

Sets the second corresponding reference field ID.

Parameters

string $secondField: The second corresponding reference field ID.

Return value

$this

Overrides CorrespondingReferenceInterface::setSecondField

File

src/Entity/CorrespondingReference.php, line 163

Class

CorrespondingReference
Defines a corresponding reference entity.

Namespace

Drupal\cer\Entity

Code

public function setSecondField($secondFIeld) {
  $this->second_field = $secondFIeld;
  return $this;
}