You are here

function hook_entityconnect_ref_fields_alter in Entity connect 8.2

Same name and namespace in other branches
  1. 7.2 entityconnect.api.php \hook_entityconnect_ref_fields_alter()

Allow modules to add fields for entitytconnect to target.

That will display the "add" and "edit" buttons.

Only entity_reference fields are supported at this time.

Parameters

array $ref_fields: The fields that will be processed by entityconnect.

1 invocation of hook_entityconnect_ref_fields_alter()
EntityconnectFormUtils::getReferenceFields in src/EntityconnectFormUtils.php
Extracts all reference fields from the given form.

File

./entityconnect.api.php, line 35
This file describes hooks provided by entityconnect.

Code

function hook_entityconnect_ref_fields_alter(array &$ref_fields) {
}