class SearchApiAutocompleteSearch in Search API Autocomplete 8
Defines an autocompletion search.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\search_api_autocomplete\Annotation\SearchApiAutocompleteSearch
 
 
Expanded class hierarchy of SearchApiAutocompleteSearch
See also
\Drupal\search_api_autocomplete\Search\SearchPluginInterface
\Drupal\search_api_autocomplete\Search\SearchPluginManager
\Drupal\search_api_autocomplete\Search\SearchPluginBase
1 file declares its use of SearchApiAutocompleteSearch
- SearchPluginManager.php in src/
Search/ SearchPluginManager.php  
3 classes are annotated with SearchApiAutocompleteSearch
- Page in src/
Plugin/ search_api_autocomplete/ search/ Page.php  - Provides autocomplete support for the search_api_page module.
 - TestSearch in tests/
search_api_autocomplete_test/ src/ Plugin/ search_api_autocomplete/ search/ TestSearch.php  - Defines a test search plugin class.
 - Views in src/
Plugin/ search_api_autocomplete/ search/ Views.php  - Provides autocomplete support for Views search.
 
File
- src/
Annotation/ SearchApiAutocompleteSearch.php, line 17  
Namespace
Drupal\search_api_autocomplete\AnnotationView source
class SearchApiAutocompleteSearch extends Plugin {
  /**
   * The search label.
   *
   * @var string
   *
   * @ingroup plugin_translatable
   */
  public $label;
  /**
   * The search description.
   *
   * @var string
   *
   * @ingroup plugin_translatable
   */
  public $description;
  /**
   * The search's group label.
   *
   * @var string
   *
   * @ingroup plugin_translatable
   */
  public $group_label = NULL;
  /**
   * The search's group's description.
   *
   * @var string
   *
   * @ingroup plugin_translatable
   */
  public $group_description = NULL;
  /**
   * The search's index ID.
   *
   * @var string
   */
  public $index;
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            Plugin:: | 
                  protected | property | The plugin definition read from the class annotation. | 1 | 
| 
            Plugin:: | 
                  public | function | 
            Gets the value of an annotation. Overrides AnnotationInterface:: | 
                  5 | 
| 
            Plugin:: | 
                  public | function | 
            Gets the class of the annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  public | function | 
            Gets the unique ID for this annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  public | function | 
            Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  protected | function | Parses an annotation into its definition. | |
| 
            Plugin:: | 
                  public | function | 
            Sets the class of the annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  public | function | 
            Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: | 
                  |
| 
            Plugin:: | 
                  public | function | Constructs a Plugin object. | 2 | 
| 
            SearchApiAutocompleteSearch:: | 
                  public | property | The search description. | |
| 
            SearchApiAutocompleteSearch:: | 
                  public | property | The search's group's description. | |
| 
            SearchApiAutocompleteSearch:: | 
                  public | property | The search's group label. | |
| 
            SearchApiAutocompleteSearch:: | 
                  public | property | The search's index ID. | |
| 
            SearchApiAutocompleteSearch:: | 
                  public | property | The search label. |