Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
To allow admins to quickly determine what has not been packaged, we generate an 'unpackaged' pseudo-package.
Currently, on the features export form, a checkbox appears for that package, as if it could be generated as a feature (which it cannot).
Proposed resolution
In a #pre_render
callback, remove access to the checkbox for the 'unpackaged' pseudo-package.
User interface changes
The checkbox no longer appears.
Comments
Comment #2
nedjoComment #5
nedjoReopening. The checkbox is now not displayed on initial form loading. However, if you change the bundle, the Ajax-loaded form displays the 'unbundled' checkbox.
Comment #7
nedjoApplied a workaround fix, documented in code comments added in the commit: