ConfigurableSearchPluginInterface.php

Same filename in other branches
  1. 9 core/modules/search/src/Plugin/ConfigurableSearchPluginInterface.php
  2. 8.9.x core/modules/search/src/Plugin/ConfigurableSearchPluginInterface.php
  3. 11.x core/modules/search/src/Plugin/ConfigurableSearchPluginInterface.php

Namespace

Drupal\search\Plugin

File

core/modules/search/src/Plugin/ConfigurableSearchPluginInterface.php

View source
<?php

namespace Drupal\search\Plugin;

use Drupal\Component\Plugin\ConfigurableInterface;
use Drupal\Component\Plugin\DependentPluginInterface;
use Drupal\Core\Plugin\PluginFormInterface;

/**
 * Provides an interface for a configurable Search plugin.
 */
interface ConfigurableSearchPluginInterface extends ConfigurableInterface, DependentPluginInterface, PluginFormInterface, SearchInterface {
    
    /**
     * Sets the ID for the search page using this plugin.
     *
     * @param string $search_page_id
     *   The search page ID.
     *
     * @return static
     */
    public function setSearchPageId($search_page_id);

}

Interfaces

Title Deprecated Summary
ConfigurableSearchPluginInterface Provides an interface for a configurable Search plugin.

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