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\EntityCode
public function setSecondField($secondFIeld) {
$this->second_field = $secondFIeld;
return $this;
}