Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <?php
  2.  
  3. namespace Drupal\facets_map_widget\Plugin\facets\query_type;
  4.  
  5. use Drupal\facets\QueryType\QueryTypePluginBase;
  6. use Drupal\facets\Result\Result;
  7.  
  8. /**
  9. * Provides support for location facets within the Search API scope.
  10. *
  11. * This query type supports latitude/longitude data type. This specific
  12. * implementation of the query type supports a generic solution of adding map facets.
  13. *
  14. * @FacetsQueryType(
  15. * id = "search_api_location",
  16. * label = @Translation("Location"),
  17. * )
  18. */
  19. class SearchApiLocation extends QueryTypePluginBase {
  20.  
  21. /**
  22. * The backend's native query object.
  23. *
  24. * @var \Drupal\search_api\Query\QueryInterface
  25. */
  26. protected $query;
  27.  
  28. /**
  29. * {@inheritdoc}
  30. */
  31. public function execute() {
  32.  
  33.  
  34.  
  35. }
  36.  
  37. /**
  38. * {@inheritdoc}
  39. */
  40. public function build() {
  41.  
  42.  
  43. }
  44.  
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement