1

In my-site-com I created a new feature to show the component: fields , then I added some fields, I download the feature as a module called my-feature-module, then I saved and enabled this module in other drupal installation my-site-2.com.

I get all the fields properly. So far so good.

Now I disabled the module my-feature-module in my-site-2.com and the problem is that the fields are not removed, they remain there. Is this normal? I mean, expected the fields to disappeared if I disable the module.

I make sure I cleared all caches and updated database, just in case it was a cache problem, but problem still persist.

1 Answer 1

0

Yes, this is normal. Some configuration items such as views can be implemented purely as code and some such as fields require database updates. Items in the former category will be removed when you disable a feature, those in the latter category will not. This is not necessarily a good thing but once you understand it, at least you know how to deal with it (manual removal of items).

1
  • ok, I understand. Then, it is like an importation of fields instead of a module which you can enable/disable.
    – chefnelone
    Apr 12, 2013 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.