You are here

protected function GeoJson::renderDescriptionField in Views GeoJSON 8

Retrieves the description field value.

Parameters

\Drupal\views\ResultRow $row: The result row.

Return value

string The main field value.

1 call to GeoJson::renderDescriptionField()
GeoJson::renderRow in src/Plugin/views/style/GeoJson.php
Render views fields to GeoJSON.

File

src/Plugin/views/style/GeoJson.php, line 485

Class

GeoJson
Style plugin to render view as GeoJSON code.

Namespace

Drupal\views_geojson\Plugin\views\style

Code

protected function renderDescriptionField(ResultRow $row) {
  return $this
    ->renderMainField($row, 'description_field');
}