function ConfigurableSearchPluginBase::setSearchPageId

Same name in other branches
  1. 9 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::setSearchPageId()
  2. 10 core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::setSearchPageId()
  3. 11.x core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php \Drupal\search\Plugin\ConfigurableSearchPluginBase::setSearchPageId()

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.