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
public function preExecute(SelectInterface $query = NULL) { if (!$this->executedPrepare) { $this->prepareAndNormalize(); } if (!$this->normalize) { return FALSE; } return parent::preExecute($query); }
Please login to continue.