function hook_geojson_view_alter in Views GeoJSON 8
Alter geojson view render array immediately before rendering.
Parameters
array $features: The array of features.
\Drupal\views\ViewExecutable $view: The current view.
1 invocation of hook_geojson_view_alter()
- GeoJson::render in src/
Plugin/ views/ style/ GeoJson.php - Render the display in this style.
File
- ./
views_geojson.api.php, line 23 - Hooks related to views_geojson module.
Code
function hook_geojson_view_alter(array &$features, ViewExecutable $view) {
}