You are here

function hook_entityconnect_exclude_forms_alter in Entity connect 8.2

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

Allow modules to alter the list of exclude forms.

If you don't want specific forms to be processed by Entityconnect.

Parameters

array $exclude_forms: Array of forms that should not be processed.

See also

entityconnect_child_form_alter()

1 invocation of hook_entityconnect_exclude_forms_alter()
EntityconnectFormUtils::childFormAlter in src/EntityconnectFormUtils.php
Alters child create form.

File

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

Code

function hook_entityconnect_exclude_forms_alter(array &$exclude_forms) {
  $exclude_forms = [
    'search_block_form',
    'page_node_form',
  ];
}