Drupal is a registered trademark of Dries Buytaert

Displays live flood alerts for England in a configurable Drupal block using the Environment Agency API. Filter by county, flood area ID, or proximity; cached for fast pages.

Features

  • Provides a “Flood Alerts” block that shows current alerts from the Environment Agency (England) Flood Monitoring API.
  • Flexible filters (per block instance):
    • County (select list of English counties)
    • Flood area ID (floodAreaID)
    • Proximity (lat, long, dist in km)

Post-Installation

  1. Enable the module.
  2. Place the block: Structure → Block layout → Place block → “Flood Alerts”.
  3. Configure per instance:
    • Choose a filter mode: County, Flood area ID, or Proximity.
  4. No site-wide configuration form is required; all settings live in the block configuration.
  5. Optional: Override the default Twig template in your theme (flood-alerts-england.html.twig).

Community Documentation

Activity

Total releases
1
First release
Nov 2025
Latest release
3 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Nov 23, 2025