function _blockreference_get_ac_match_method_from_field in Block reference 7.2
The autocomplete match method in field instance settings.
1 call to _blockreference_get_ac_match_method_from_field()
File
- ./
blockreference.module, line 266
Code
function _blockreference_get_ac_match_method_from_field($instance, $field = NULL) {
$method = @$instance['widget']['settings']['blockreference_ac_match_method'];
return $method ?: 'contains';
}