function scanner_scanner_query_where in Search and Replace Scanner 7
Implements hook_scanner_query_where().
File
- ./
scanner.module, line 1343 - Search and Replace Scanner - works on all nodes text content.
Code
function scanner_scanner_query_where(&$or, $table, $field, $where, $binary) {
// Base field.
$or
->condition('t.' . $field, $where, 'REGEXP' . $binary);
}