I want to create field with name img for content type announcement

From the documentation, I can type drush field-create announcement. After that typing the field name img, after that type 2, lastly type 1.

Is there any ways achieving this through one line command?


1 Answer 1


just type : drush field-create announcement img,image,image_image

the last two are field_type,widget_name

Your Answer

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

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