You are here

public function ConfigurableSearchPluginBase::setSearchPageId in Drupal 8

Same name and namespace in other branches
  1. 9 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\Plugin

Code

public function setSearchPageId($search_page_id) {
  $this->searchPageId = $search_page_id;
  return $this;
}