You are here

public function SearchPluginBase::getParameters in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::getParameters()

Returns the current parameters set using setSearch().

Return value

array The parameters.

Overrides SearchInterface::getParameters

2 calls to SearchPluginBase::getParameters()
NodeSearch::findResults in core/modules/node/src/Plugin/Search/NodeSearch.php
Queries to find search results, and sets status messages.
NodeSearch::searchFormAlter in core/modules/node/src/Plugin/Search/NodeSearch.php
Alters the search form when being built for a given plugin.

File

core/modules/search/src/Plugin/SearchPluginBase.php, line 68

Class

SearchPluginBase
Defines a base class for plugins wishing to support search.

Namespace

Drupal\search\Plugin

Code

public function getParameters() {
  return $this->searchParameters;
}