setSearchPageId example

return parent::get($instance_id);
  }

  /** * {@inheritdoc} */
  protected function initializePlugin($instance_id) {
    parent::initializePlugin($instance_id);

    $plugin_instance = $this->pluginInstances[$instance_id];
    if ($plugin_instance instanceof ConfigurableSearchPluginInterface) {
      $plugin_instance->setSearchPageId($this->searchPageId);
    }
  }

}
Home | Imprint | This part of the site doesn't use cookies.