public function ConfigurableSearchPluginBase::setSearchPageId in Drupal 9
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::setSearchPageId()
- 10 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::setSearchPageId()
Sets the ID for the search page using this plugin.
Parameters
string $search_page_id: The search page ID.
Return value
static
Overrides ConfigurableSearchPluginInterface::setSearchPageId
File
- core/
modules/ search/ src/ Plugin/ ConfigurableSearchPluginBase.php, line 66
Class
- ConfigurableSearchPluginBase
- Provides a base implementation for a configurable Search plugin.
Namespace
Drupal\search\PluginCode
public function setSearchPageId($search_page_id) {
$this->searchPageId = $search_page_id;
return $this;
}