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\EntityCode
public function setFirstField($firstField) {
$this->first_field = $firstField;
return $this;
}