Created
March 17, 2015 08:43
-
-
Save opi/576b81d7e4d0e5325107 to your computer and use it in GitHub Desktop.
Drupal : Create fields with drush
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush field-create CONTENT_TYPE field_FIELD_NAME,text_long,text_textarea | |
drush field-create CONTENT_TYPE field_FIELD_NAME,text,text_textfield | |
drush field-create CONTENT_TYPE field_FIELD_NAME,list_text,options_select | |
drush field-create CONTENT_TYPE field_FIELD_NAME,number_integer,number | |
drush field-create CONTENT_TYPE field_FIELD_NAME,number_decimal,number | |
drush field-create CONTENT_TYPE field_FIELD_NAME,list_boolean,options_onoff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment