Mercurial > hg > isophonics-drupal-site
annotate core/modules/search/src/Plugin/ConfigurableSearchPluginInterface.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\search\Plugin; |
Chris@0 | 4 |
Chris@18 | 5 use Drupal\Component\Plugin\ConfigurableInterface; |
Chris@0 | 6 use Drupal\Component\Plugin\ConfigurablePluginInterface; |
Chris@18 | 7 use Drupal\Component\Plugin\DependentPluginInterface; |
Chris@0 | 8 use Drupal\Core\Plugin\PluginFormInterface; |
Chris@0 | 9 |
Chris@0 | 10 /** |
Chris@0 | 11 * Provides an interface for a configurable Search plugin. |
Chris@0 | 12 */ |
Chris@18 | 13 interface ConfigurableSearchPluginInterface extends ConfigurableInterface, DependentPluginInterface, ConfigurablePluginInterface, PluginFormInterface, SearchInterface { |
Chris@0 | 14 |
Chris@0 | 15 /** |
Chris@0 | 16 * Sets the ID for the search page using this plugin. |
Chris@0 | 17 * |
Chris@0 | 18 * @param string $search_page_id |
Chris@0 | 19 * The search page ID. |
Chris@0 | 20 * |
Chris@0 | 21 * @return static |
Chris@0 | 22 */ |
Chris@0 | 23 public function setSearchPageId($search_page_id); |
Chris@0 | 24 |
Chris@0 | 25 } |