Move into nested docroot
This commit is contained in:
parent
83a0d3a149
commit
c8b70abde9
13405 changed files with 0 additions and 0 deletions
40
web/core/modules/search/src/Annotation/SearchPlugin.php
Normal file
40
web/core/modules/search/src/Annotation/SearchPlugin.php
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?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;
|
||||
|
||||
}
|
||||
Reference in a new issue