You are here

function hook_entityconnect_field_attach_form_alter in Entity connect 8.2

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

Allows modules to change the target of the entityconnect action.

Parameters

array $data: The data to alter. $data = array( 'entity_type' => $entity_type, 'acceptable_types' => $acceptable_types, 'field_definition' => $fieldDefinition );.

1 invocation of hook_entityconnect_field_attach_form_alter()
EntityconnectWidgetProcessor::process in src/EntityconnectWidgetProcessor.php
Form API callback: Processes an entity_reference field element.

File

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

Code

function hook_entityconnect_field_attach_form_alter(array &$data) {
}