Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to set a specific base URL for each consumer, which is then used for entity canonical URLs and URL tokens. It is intended for use with the consumers module and GraphQL.

Synopsis

The Consumer Base URL module provides base URL per consumer and use it for entity canonical URLs, URL tokens and other stuff.

  • Currently only tested with 1 default consumer together with GraphQL 4.x.

Installation

1.x.x: Install as usual, see the official documentation for further information.

Configuration

  • Go to Manage > Configuration > Web-Services > Consumers.
  • Edit consumer you want to add a base URL for.
  • Add base URL in following format https://example.com.
  • Save consumer.
  • Maybe you have to clear caches if you add/edit a base URL for an existing consumer.

Requirements

Following Drupal core modules are required to use Consumer Baser URL module.

  • drupal/pathalias core module
  • consumers contrib module

Credits

Current maintainers for Consumer Base URL:

Want to support the development of this project?

Buy IT-Cru a coffee ☕️

Support and help wanted!

File bugs, feature requests and support requests in the Drupal.org issue queue
of this project
.

Activity

Total releases
4
First release
May 2025
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.0-beta2 Pre-release Jun 15, 2026
1.0.0-beta1 Pre-release Apr 7, 2026
1.0.0-alpha6 Pre-release Sep 30, 2025
1.0.0-alpha5 Pre-release May 22, 2025