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
When editing a feature via the UI, configuration item constraints (excluded, required) are automatically assigned to the feature according to the logic summarized in this issue.
However, because the handling is embedded in the features edit form code, these constraints are not added when modifying a programmatically or through Drush.
Proposed resolution
Move handling out of the form class. Related: #2596007: Clear out stale excluded and required values.
Comments