protected function CorrespondingReferenceForm::getReferenceFieldMap in Corresponding Entity References 8.4
Gets a map of possible reference fields.
Return value
array The reference field map.
2 calls to CorrespondingReferenceForm::getReferenceFieldMap()
- CorrespondingReferenceForm::getBundleOptions in src/
Form/ CorrespondingReferenceForm.php - Gets an array of bundle options to populate in the form.
- CorrespondingReferenceForm::getFieldOptions in src/
Form/ CorrespondingReferenceForm.php - Gets an array of field options to populate in the form.
File
- src/
Form/ CorrespondingReferenceForm.php, line 157
Class
- CorrespondingReferenceForm
- Form handler for corresponding reference add and edit forms.
Namespace
Drupal\cer\FormCode
protected function getReferenceFieldMap() {
$map = $this->fieldManager
->getFieldMapByFieldType('entity_reference');
return $map;
}