You are here

public function CorrespondingReferenceInterface::getCorrespondingField in Corresponding Entity References 8.4

Gets the name of the corresponding field of the provided field.

Parameters

$fieldName string: The provided field name.

Return value

string The corresponding field name.

1 method overrides CorrespondingReferenceInterface::getCorrespondingField()
CorrespondingReference::getCorrespondingField in src/Entity/CorrespondingReference.php
Gets the name of the corresponding field of the provided field.

File

src/Entity/CorrespondingReferenceInterface.php, line 138

Class

CorrespondingReferenceInterface
Defines the interface for corresponding reference config entities.

Namespace

Drupal\cer\Entity

Code

public function getCorrespondingField($fieldName);