public SearchQuery::preExecute(SelectInterface $query = NULL)
Generic preparation and validation for a SELECT query.
Return value
TRUE if the validation was successful, FALSE if not.
Overrides SelectExtender::preExecute
File
- core/modules/search/src/SearchQuery.php, line 463
Class
- SearchQuery
- Search query extender and helper functions.
Namespace
Drupal\search
Code
1 2 3 4 5 6 7 8 9 10 11 | public function preExecute(SelectInterface $query = NULL) { if (! $this ->executedPrepare) { $this ->prepareAndNormalize(); } if (! $this ->normalize) { return FALSE; } return parent::preExecute( $query ); } |
Please login to continue.