public function CorrespondingReference::getFirstField in Corresponding Entity References 8.4
Gets the first corresponding reference field id.
Return value
string The first corresponding reference field.
Overrides CorrespondingReferenceInterface::getFirstField
1 call to CorrespondingReference::getFirstField()
- CorrespondingReference::getCorrespondingFields in src/
Entity/ CorrespondingReference.php - Gets an array of the corresponding field names.
File
- src/
Entity/ CorrespondingReference.php, line 140
Class
- CorrespondingReference
- Defines a corresponding reference entity.
Namespace
Drupal\cer\EntityCode
public function getFirstField() {
return $this->first_field;
}