- Issue created by @narendraR
- 🇺🇸United States phenaproxima Massachusetts
Just to be clear, the "flaw" here is actually in core -- the current profile is always included in the output of ModuleExtensionList. See https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co... for where that happens.
Probably the correct solution here is for the plugin to inject the
install_profile
container parameter and, if it's set (it might not be, since profiles are uninstallable now), actively remove it from the found projects. - 🇺🇸United States phenaproxima Massachusetts
Could use review; I did a bit of clean-up in the code while I was at it. Will also need a test.
- First commit to issue fork.
- 🇺🇸United States phenaproxima Massachusetts
That looks great! A couple of minor points.
- 🇺🇸United States phenaproxima Massachusetts
Fixed PHPCS and switched back to the Testing profile, we don't need to use Standard for this.
- First commit to issue fork.
-
chrisfromredfin →
committed aabf5955 on 2.0.x authored by
phenaproxima →
Issue #3504781: Profile should not be shown in drupal_core plugin
-
chrisfromredfin →
committed aabf5955 on 2.0.x authored by
phenaproxima →
- 🇺🇸United States chrisfromredfin Portland, Maine
someone filed this a long time ago and closed with CNR - glad we found it again and fixed it