You are here

function hook_blockreference_potential_references_alter in Block reference 6

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

Alter the potential references.

Parameters

$rows: The rows 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, for use in presenting the selection form to the user.

File

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

Code

function hook_blockreference_potential_references_alter(&$rows, $field, $return_full_blocks = FALSE, $string = '', $exact_string = FALSE) {

  // no example code
}