Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

LocalGov Culturehosts

No security coverage Under active development

Part of the Localgov ecosystem · 83 projects

LocalGov Culture Hosts connects Culture Hosts, a platform where venues and organisers publish cultural events, to LocalGov Drupal council websites. Instead of retyping events and venue details by hand, the council's site imports them from Culture Hosts and keeps them up to date. Editors still decide what gets published.

Features

The project contains three modules. Enable the ones you need.

  • LocalGov Culture Hosts (API client): connects securely to the Culture Hosts API using OAuth 2.0. It caches access tokens, and retries automatically when the API is slow or briefly unavailable.
  • LocalGov Culture Hosts Import: imports Culture Hosts events and venues as standard LocalGov Event and Directory Venue pages, so they appear in the site's existing listings, search and directories.
    • Brings across dates and sessions, prices, age ranges, booking links, images, accessibility information, facilities, opening hours and venue contact details.
    • New items arrive as unpublished drafts for an editor to approve or reject.
    • Changes to pages that are already published are held for review, with a diff of what changed, unless every changed field is one you have marked safe to update automatically.
    • Rules per field: update automatically, require review, or never overwrite.
    • Editors can write their own description, which the import never overwrites.
    • Maps Culture Hosts categories to your own taxonomy terms.
    • Imports only the areas (places) you choose, and only items that have changed since the last run.
    • Works on standard LocalGov sites and on LocalGov Microsites.
  • LocalGov Culture Hosts Embed: shows your Culture Hosts partner portal inside your site, as a block or a page at /culture-hosts, with a fallback link if it fails to load. It can be configured per domain.

Use this project if your council, or the venues and organisers in your area, already publish events on Culture Hosts and you want them on your LocalGov Drupal site without double entry.

Post-Installation

  1. Add your Culture Hosts API credentials to settings.php. They are never stored in the database or exported config.
    $settings['culturehosts_api'] = [
      'consumer_key' => 'your-client-id',
      'consumer_secret' => 'your-client-secret',
    ];
  2. Enable LocalGov Culture Hosts Import (this also enables the API module). On install it adds its fields to events and venues, adds review states to your editorial workflow, and creates two review screens.
  3. Go to Configuration -> Web services -> CultureHosts Import -> Import Settings. Enter the places to import, choose the workflow and category vocabularies, and turn on cron when you are ready. Nothing is imported until places are set.
  4. Add category mappings, and give editors the Approve/Reject Import and Approve/Reject CH Update workflow permissions.
  5. Run a first import from Run Import, then review the results at Content โ†’ CultureHosts New Imports.
  6. Optionally, enable LocalGov Culture Hosts Embed and configure it at Configuration -> Web services -> Culture Hosts.

The import needs an editorial workflow that uses Content Moderation. On LocalGov sites this is normally localgov_editorial, from LocalGov Workflows. If no workflow is found, the review states are not added and imports will fail.

Additional Requirements

  • Drupal 10 or 11, PHP 8.1 or later.
  • A Culture Hosts account with API (OAuth client) credentials.
  • For the import module: LocalGov Events, LocalGov Directories (Venue), LocalGov Media, Diff, and core Content Moderation and Workflows.
  • The embed module has no requirements beyond Drupal core.
  • LocalGov Workflows: provides the editorial workflow the import uses by default.
  • Office Hours: enables the venue opening hours field.
  • Domain: lets the portal embed be configured separately for each domain.
  • LocalGov Microsites: imported content can be attached to a chosen microsite.

Similar projects

We are not aware of another Drupal integration for Culture Hosts. General import tools such as Feeds or Migrate can pull data from an API, but they do not map onto LocalGov's event and venue content types, and they do not provide the per-field editorial review this project adds.

Ask your assistant about LocalGov Culturehosts

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2026
Latest release
14 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release 10โ€“11 PHP 8.1 Dec 4, 2026