Vocabulary: Region - envris/White-Label-Help-Wiki GitHub Wiki

Brief description

Taxonomy vocabulary "Region" which will be used to store region metadata and geospatial information for the White Label Site. Regions can be hierarchal, eg:

  • States and territories
    • ACT
    • NSW
    • etc

Detailed description

To view the list of existing taxonomy terms for "Region" vocabulary, go to "Structure > Taxonomy > Region" (/admin/structure/taxonomy/manage/region/overview).

Click "Add term" to add new location or click "Edit" to edit one of the existing location in the vocabulary.

The "Region" vocabulary has the following fields:

  • Name : Name / Title of the location. E.g. "Victoria"
  • Description : Short description about the location
  • Geospatial (geo-json) : GeoJSON data for the location. This field accept text data in GeoJSON format. Go to https://geojson.org/ and http://geojson.io/ for more information and examples.
  • Search Exclude (on by default) : This field will be used to exclude this taxonomy term from the search results.

URL Pattern

The "Region" vocabulary has a URL pattern configured.


Technical description

Package: Location

Field types:

  • Name : Default drupal taxonomy field
  • Description : field_description, Text (plain, long)
  • Geospatial (geo-json) : field_description, Text (plain, long)
  • Search Exclude: field_search_exclude, boolean, default true