4

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?

5

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, privacy policy and cookie policy

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