You are here

function hook_entityconnect_add_info_alter in Entity connect 8.2

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

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

Parameters

array $info: Content and theme information to return.

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

1 invocation of hook_entityconnect_add_info_alter()
EntityconnectController::add in src/Controller/EntityconnectController.php
Add a new connecting entity.

File

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

Code

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