You are here

blockreference.api.php in Block reference 6

Same filename and directory in other branches
  1. 7.2 blockreference.api.php
  2. 7 blockreference.api.php

Documents Block reference's hooks for api reference.

File

blockreference.api.php
View source
<?php

/**
 * @file
 * Documents Block reference's hooks for api reference.
 */

/**
 * Alter the potential references.
 *
 * @param $rows
 *  The rows array to be modified.
 * @param $field
 *  Array containing field data.
 * @param $return_full_blocks
 *  Whether to return full blocks.
 * @param $string
 *  Filter string to match blocks.
 * @param $exact_string
 *  Strictly match string like for validation.
 */
function hook_blockreference_potential_references_alter(&$rows, $field, $return_full_blocks = FALSE, $string = '', $exact_string = FALSE) {

  // no example code
}

Functions

Namesort descending Description
hook_blockreference_potential_references_alter Alter the potential references.