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.
If I export a REST service endpoint, my generated feature misses the dependency on the rest_server module, so when I go to deploy the feature to another environment, it will not work because rest_server does not get enabled.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2681207-add-endpoint-dependencies.patch | 1.39 KB | Dave Reid |
Comments
Comment #2
Dave ReidThis adds an implementation of hook_features_export_alter() to ensure that the endpoint's server and authentication modules are added as dependencies.
Comment #3
Dave ReidComment #4
kylebrowning CreditAttribution: kylebrowning commentedGood catch.
Comment #5
MustangGB CreditAttribution: MustangGB commented+RTBC
Comment #6
kylebrowning CreditAttribution: kylebrowning commented