You are here

function hook_blockreference_potential_references_alter in Block reference 7

Same name and namespace in other branches
  1. 6 blockreference.api.php \hook_blockreference_potential_references_alter()

Alter the potential references.

DEPRECATED in favor of hook_blockreference_potential_references2_alter().

Parameters

$references: The references array to be modified.

$field: Array containing field data.

$return_full_blocks: Whether to return full blocks.

$string: Filter string to match blocks.

$exact_string: Strictly match string like for validation.

1 invocation of hook_blockreference_potential_references_alter()
_blockreference_potential_references in ./blockreference.module
Fetch an array of all candidate referenced blocks.

File

./blockreference.api.php, line 24
Documents Block reference's hooks for api reference.

Code

function hook_blockreference_potential_references_alter(&$references, $field, $current_bids = array()) {

  // no example code
}