You are here

interface ConfigurableSearchPluginInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 16
Contains \Drupal\search\Plugin\ConfigurableSearchPluginInterface.

Namespace

Drupal\search\Plugin
View source
interface ConfigurableSearchPluginInterface extends ConfigurablePluginInterface, 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
ConfigurablePluginInterface::defaultConfiguration public function Gets default configuration for this plugin. 9
ConfigurablePluginInterface::getConfiguration public function Gets this plugin's configuration. 10
ConfigurablePluginInterface::setConfiguration public function Sets the configuration for this plugin instance. 10
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. 15
PluginFormInterface::buildConfigurationForm public function Form constructor. 23
PluginFormInterface::submitConfigurationForm public function Form submission handler. 21
PluginFormInterface::validateConfigurationForm public function Form validation handler. 12
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 2
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
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. 3
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