Drush delete multiple fields for Drupal 7

Public

Delete multiple fields (field_A, field_B, field_C, field_D) one command

</> CopyGet raw version
bash
  1. for field in field_A field_B field_C field_D; do drush field-delete $field -y; done

Comments

manu's picture

Really cool, thank you.

Peter's picture

drush field-delete is only for D7 (not D6)