Mercurial > hg > isophonics-drupal-site
view core/modules/search/src/Annotation/SearchPlugin.php @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\search\Annotation; use Drupal\Component\Annotation\Plugin; /** * Defines a SearchPlugin type annotation object. * * SearchPlugin classes define search types for the core Search module. Each * search type can be used to create search pages from the Search settings page. * * @see SearchPluginBase * * @ingroup search * * @Annotation */ class SearchPlugin extends Plugin { /** * A unique identifier for the search plugin. * * @var string */ public $id; /** * The title for the search page tab. * * @todo This will potentially be translated twice or cached with the wrong * translation until the search tabs are converted to local task plugins. * * @ingroup plugin_translatable * * @var \Drupal\Core\Annotation\Translation */ public $title; }