You are here

interface ConfigurableSearchPluginInterface in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/search/src/Plugin/ConfigurableSearchPluginInterface.php \Drupal\search\Plugin\ConfigurableSearchPluginInterface
  2. 9 core/modules/search/src/Plugin/ConfigurableSearchPluginInterface.php \Drupal\search\Plugin\ConfigurableSearchPluginInterface

Provides an interface for a configurable Search plugin.

Hierarchy

Expanded class hierarchy of ConfigurableSearchPluginInterface

All classes that implement ConfigurableSearchPluginInterface

File

core/modules/search/src/Plugin/ConfigurableSearchPluginInterface.php, line 12

Namespace

Drupal\search\Plugin
View source
interface ConfigurableSearchPluginInterface extends ConfigurableInterface, DependentPluginInterface, PluginFormInterface, SearchInterface {

  /**
   * Sets the ID for the search page using this plugin.
   *
   * @param string $search_page_id
   *   The search page ID.
   *
   * @return static
   */
  public function setSearchPageId($search_page_id);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 4
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 3
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 3
ConfigurableSearchPluginInterface::setSearchPageId public function Sets the ID for the search page using this plugin. 1
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 8
PluginFormInterface::buildConfigurationForm public function Form constructor. 19
PluginFormInterface::submitConfigurationForm public function Form submission handler. 17
PluginFormInterface::validateConfigurationForm public function Form validation handler. 11
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 1
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 1
SearchInterface::buildResults public function Executes the search and builds render arrays for the result items. 1
SearchInterface::buildSearchUrlQuery public function Builds the URL GET query parameters array for search. 1
SearchInterface::execute public function Executes the search. 1
SearchInterface::getAttributes public function Returns the currently set attributes (from the request). 1
SearchInterface::getHelp public function Returns the searching help. 1
SearchInterface::getKeywords public function Returns the currently set keywords of the plugin instance. 1
SearchInterface::getParameters public function Returns the current parameters set using setSearch(). 1
SearchInterface::getType public function Returns the search index type this plugin uses. 1
SearchInterface::isSearchExecutable public function Verifies if the values set via setSearch() are valid and sufficient. 1
SearchInterface::searchFormAlter public function Alters the search form when being built for a given plugin. 1
SearchInterface::setSearch public function Sets the keywords, parameters, and attributes to be used by execute(). 1
SearchInterface::suggestedTitle public function Provides a suggested title for a page of search results. 1
SearchInterface::usesAdminTheme public function Returns whether or not search results should be displayed in admin theme. 1