You are here

function hook_entityconnect_add_info in Entity connect 8.2

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

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

Parameters

string $cache_id: The id of the parent form cache.

string $entity_type: The target entity_type.

array $acceptable_types: The entity types that can be added/edited.

1 function implements hook_entityconnect_add_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

entityconnect_entityconnect_add_info in ./entityconnect.module
Implements hook_entityconnect_add_info().
1 invocation of hook_entityconnect_add_info()
EntityconnectController::add in src/Controller/EntityconnectController.php
Add a new connecting entity.

File

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

Code

function hook_entityconnect_add_info($cache_id, $entity_type, array $acceptable_types) {
}