I have one custom feature called "abcxyz" in my project and I want to remove this feature from code base.so for this what would be the best way to delete this from code base ?

is uninstall required?
will it remove content types and other dependent fields?

Thanks ,
Shrikant

Comments

shrikant kushwaha created an issue.

glenshewchuck’s picture

Hi Shrikant,

I'm using features 2.11 for Drupal 7. I have been removing features for the first time lately and learned a few things.

#1. Disabling and uninstalling the feature does not seem to delete anything. Please validate this - I see a lot of issues on it.
I use drush -y dis ; drush -y pmu
#2. It seems to leave and entry in the system table causing warnings. So after I do the uninstall (pmu) I have been deleting the row from the system table with an update_N hook. See https://www.drupal.org/node/2487215