You are here

public function CorrespondingReference::getSecondField in Corresponding Entity References 8.4

Gets the second corresponding reference field id.

Return value

string The second corresponding reference field.

Overrides CorrespondingReferenceInterface::getSecondField

1 call to CorrespondingReference::getSecondField()
CorrespondingReference::getCorrespondingFields in src/Entity/CorrespondingReference.php
Gets an array of the corresponding field names.

File

src/Entity/CorrespondingReference.php, line 156

Class

CorrespondingReference
Defines a corresponding reference entity.

Namespace

Drupal\cer\Entity

Code

public function getSecondField() {
  return $this->second_field;
}