You are here

function hook_entityconnect_edit_info_alter in Entity connect 8.2

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

Allow modules to alter the render array for the edit action.

Parameters

array $info: Content and theme information to return.

array $context: The context in which the information is edited. $context = array( 'cache_id' => $cache_id, 'entity_type' => $entity_type, // Target entity type 'target_id' => $target_id );.

1 invocation of hook_entityconnect_edit_info_alter()
EntityconnectController::edit in src/Controller/EntityconnectController.php
Page callback: Redirect to edit form.

File

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

Code

function hook_entityconnect_edit_info_alter(array &$info, array $context) {
}