Commit 349e7670 authored by alexpott's avatar alexpott

Issue #2544870 by jhodgdon: Docs problem on ViewsSearchQuery::conditionReplaceString()

parent 7e4c9d72
......@@ -69,8 +69,10 @@ public function publicParseSearchExpression() {
* The searched value.
* @param string $replace
* The value which replaces the search value.
* @param \Drupal\Core\Database\Query\Condition $condition
* The query condition in which the string is replaced.
* @param array $condition
* The query conditions array in which the string is replaced. This is an
* item from a \Drupal\Core\Database\Query\Condition::conditions array,
* which must have a 'field' element.
function conditionReplaceString($search, $replace, &$condition) {
if ($condition['field'] instanceof Condition) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment