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.

Config Plus

60 sites No security coverage
View on drupal.org

This module provides tools to help manage Drupal configuration. It allows for the easy installation of new configuration when a module is installed, prevents the improper creation of configuration entities, and fixes issues with existing configuration entities that lack UUIDs.

Provides the following features

  • a service for easily installing new configuration added to a module as if it was installed by the Drupal's own config installer during module installation
  • a constraint preventing the non-proper creation of configuration entities
  • a fix on installation for wrongly installed configuration entities that miss their UUIDs and this could create all different kind of issues

Usage

In order to install a new config shipped with a module just do the following in a hook_update_N(): \Drupal::service('config_plus.config_installer')->installConfig('module', 'my_module', 'field.field.node.my_node_type.my_new_field');

Notes

  • The constraint for checking the proper installation of a config entity simply relies on the fact that the UUID in such cases is not set. A perfect check would have to follow if for every config entity there was both a config crud event fired and a hook_entity_insert() or hook_entity_update() invoked, which we might consider adding in a later release.
  • Further the constraint does not really prevent the in-proper creation of configuration entities since it fires after the saving, but by throwing an exception and saving an error log message should be enough to make the developer aware of doing something wrong.

Activity

Total releases
1
First release
Jan 2026
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0-alpha3 Pre-release Jan 16, 2026