Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SearchQuery.php

function SearchQuery::preExecute

Overrides SelectExtender::preExecute

1 call to SearchQuery::preExecute()
SearchQuery::execute in core/modules/search/src/SearchQuery.php
Executes the search.

File

core/modules/search/src/SearchQuery.php, line 465

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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal