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

Breadcrumb

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

function SearchInterface::execute

Executes the search.

Return value

array A structured list of search results.

1 call to SearchInterface::execute()
SearchPluginBase::buildResults in core/modules/search/src/Plugin/SearchPluginBase.php
Executes the search and builds render arrays for the result items.
3 methods override SearchInterface::execute()
HelpSearch::execute in core/modules/help/src/Plugin/Search/HelpSearch.php
Executes the search.
NodeSearch::execute in core/modules/node/src/Plugin/Search/NodeSearch.php
Executes the search.
UserSearch::execute in core/modules/user/src/Plugin/Search/UserSearch.php
Executes the search.

File

core/modules/search/src/Plugin/SearchInterface.php, line 80

Class

SearchInterface
Defines a common interface for all SearchPlugin objects.

Namespace

Drupal\search\Plugin

Code

public function execute();

API Navigation

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