drush field-deletefor drush 6x
Delete a field and its instances.
field-delete accepts 1 argument/s:
field_name : Name of field to delete.
field-delete accepts 2 option/s:
--bundle : Only delete the instance attached to this bundle. If omitted, admin can choose to delete one instance or whole field.
--entity_type : Disambiguate a particular bundle from identically named bundles. Usually not needed.
Delete the city field and any instances it might have.
Delete the city instance on the article bundle
field-delete city --bundle=article
comments powered by Disqus