public function Leaflet::query in Leaflet 8
Same name and namespace in other branches
- 2.1.x modules/leaflet_views/src/Plugin/views/style/Leaflet.php \Drupal\leaflet_views\Plugin\views\style\Leaflet::query()
- 2.0.x modules/leaflet_views/src/Plugin/views/style/Leaflet.php \Drupal\leaflet_views\Plugin\views\style\Leaflet::query()
Add anything to the query that we might need to.
Overrides StylePluginBase::query
File
- modules/
leaflet_views/ src/ Plugin/ views/ style/ Leaflet.php, line 185
Class
- Leaflet
- Style plugin to render a View output as a Leaflet map.
Namespace
Drupal\leaflet_views\Plugin\views\styleCode
public function query() {
// Avoid querying the database; all feature data comes from attachments.
$this->built = TRUE;
}