Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module allows you to expose your Drupal configuration data to GraphQL. You can select specific configuration items and their fields to make available, and the module automatically handles the conversion to GraphQL types for type-safe querying.

GraphQL Compose Configs module extends GraphQL Compose to expose Drupal configuration through GraphQL, providing type-safe access to configuration data.​

Features

Expose any Drupal configuration through GraphQL.

  • Selectively choose which configuration fields to expose.
  • Automatic type generation for exposed configurations.
  • Integration with GraphQL Compose's schema system.
  • Administrative interface for managing configuration exposure.
  • Type-safe access to configuration data.​

Post-Installation

After installing and enabling the module:

  • Navigate to /admin/config/graphql/compose/configs.
  • Click "Add configuration exposure".
  • Select the configuration you want to expose.
  • Choose which fields to expose.
  • Save the configuration.

Additional Requirements

This module requires the following:​

Usage

Exposing Configuration

Navigate to /admin/config/graphql/compose/configs.

  • Click "Add configuration exposure".
  • Select the configuration you want to expose.
  • Choose which fields to expose.
  • Save the configuration.

Querying Configuration

Once a configuration is exposed, you can query it using GraphQL. For example, to query the system.site configuration:

query {
  systemSite {
    name
    mail
    slogan
  }
}

The module automatically converts configuration names to valid GraphQL type names (e.g., system.site becomes systemSite).

Permissions

The module defines the following permission:​

  • Administer GraphQL configuration exposure: Allows users to manage which configurations are exposed through GraphQL.

Community Documentation

For more detailed information and best practices, refer to the GraphQL Compose documentation.

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
3
Tracked since
Apr 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha2 Pre-release 10–11 Jun 7, 2025
1.0.0-alpha1 Pre-release 10–11 Apr 25, 2025
1.0.x-dev Dev 10–11 Apr 25, 2025