3 namespace Drupal\search\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a SearchPlugin type annotation object.
10 * SearchPlugin classes define search types for the core Search module. Each
11 * search type can be used to create search pages from the Search settings page.
13 * @see SearchPluginBase
19 class SearchPlugin extends Plugin {
22 * A unique identifier for the search plugin.
29 * The title for the search page tab.
31 * @todo This will potentially be translated twice or cached with the wrong
32 * translation until the search tabs are converted to local task plugins.
34 * @ingroup plugin_translatable
36 * @var \Drupal\Core\Annotation\Translation