field:delete¶
11.0+
Delete a field
Examples¶
drush field:delete
. Delete a field by answering the prompts.drush field-delete taxonomy_term tag
. Delete a field and fill in the remaining information through prompts.drush field-delete taxonomy_term tag --field-name=field_tag_label
. Delete a field in a non-interactive way.
Arguments¶
- [entityType]. The machine name of the entity type
- [bundle]. The machine name of the bundle
Options¶
- --field-name=FIELD-NAME. The machine name of the field
- --show-machine-names[=SHOW-MACHINE-NAMES]. Show machine names instead of labels in option lists.
Aliases¶
- field-delete
- fd
Legend
- An argument or option with square brackets is optional.
- Any default value is listed at end of arg/option description.
- An ellipsis indicates that an argument accepts multiple values separated by a space.