config2php
11 sites
Security covered
πΊπ¦
This module is maintained by Ukrainian developers.Please consider supporting Ukraine in a fight for their freedom and safety of Europe.
The module is a utility that simplifies the extraction of configuration elements and their conversion into a PHP associative array. While Drupal's core provides configuration export functionality, it outputs data in YAML format, requiring additional conversion steps before it can be used in PHP code.
This module provides a user-friendly interface for selecting the configuration type and specific element, generating a properly formatted PHP array that is immediately ready for use. It ensures correct syntax formatting, including proper array key wrapping, colon-to-arrow replacement, trailing commas, and other necessary adjustments.