Project description
The Localized Configuration module is a custom layer on top of Drupal's configuration management system, allowing to build a centralized configuration interface for your website with reduced effort.
Localized Configuration does a lot of the footwork in regards to storing configuration and, most importantly, handles differences between different locales and languages in the Drupal environment, making it especially valuable if you use languages in a multisite context.
This module is intended as a framework for developers and does not provide meaningful functionality on its own for site-builders.
Application details
We believe the module to be a solid framework for developers who wish for an accessible, dynamic configuration system which can be made accessible to customers, and which centralizes the configuration for many custom features in a single place, as well as allowing customization per-language.
In our particular in-company use case, the Drupal concept of "language" ended up being used as more of a multisite context, with different domains and wholly different pieces of content. We have had multiple customers which desired for per-language customization of various settings, and we decided to come up with an extensible plugin system for that.
Project page
https://www.drupal.org/project/localized_config
Project documentation
https://www.drupal.org/docs/8/modules/localized-configuration
Git instructions
git clone --branch 8.x-1.x https://git.drupalcode.org/project/localized_config.git
PAReview.sh
https://pareview.sh/pareview/https-git.drupal.org-project-localized_conf...
The only message is that the project is missing unit tests, which the tool states to be "optional". Other code review topics have been handled in release 8.x-1.0-alpha2 in this tracker issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot 2019-12-19 at 11.00.00.png | 413.33 KB | vuil |
Comments
Comment #2
vuilI updated summary.
Comment #3
vuilThank you for the contribution!
1. Please correct in
composer.json:https.//www.drupal.org/u/yoruvoto become
https://www.drupal.org/u/yoruvo2. Please add the dependency to your project
.info.ymlfile:You have an undefined class
\Drupal\language_access\LanguageAccessHelperinDrupal\localized_config\LocalizedConfigHelper?3. Also add drupal/console as dependency in .info.yml file:
4. Please replace the deprecated function
system_get_info(). Use\Drupal::service('extension.list.$type')->getExtensionInfo()or\Drupal::service('extension.list.$type')->getAllInstalledInfo()instead.See more https://www.drupal.org/node/2709919
5. It is better (as a recommendation) to use
if ($module !== null) {..}instead ofif (!is_null($module)) {..}everywhere.6. Please see the attachment about the issue into
Drupal\localized_config\Form\LocalizedConfigFormcreate()method.Not all of the issues above are blockers but it is good practice to know them.
Thank you.
Comment #4
yoruvo commentedHi! Thank you very much for the review.
#1, #4 and #5 have been fixed.
I've addressed #2 and #6 by removing that dependency/class altogether; it was meant to be long gone.
As for #3, I'm not sure if I should have Drupal Console be a dependency, because the command is in no way required for the module to work. It is simply an optional aid for developers.
The new version of the module is up as 8.x-1.0-alpha6.
Comment #5
yoruvo commentedComment #6
avpadernoSince Drupal Console is not necessary for the module to work, it should not be declared as required dependency. The Drupal Console command will be available to Drupal Console, if it's installed; otherwise, without Drupal Console, the command will not be visible.
Comment #7
klausiThanks for your contribution!
Otherwise looks good to me, did not see any obvious security issues.
Comment #8
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.