Last active
December 22, 2015 02:49
-
-
Save danny-englander/6406090 to your computer and use it in GitHub Desktop.
A Drupal boilerplate for updating Features when you are using Drush. These are examples of code you would add to your Feature's .info file. Once you add it, simply run drush --d fu my_feature and voila, all the magic happens.
This file contains 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
;Content Type | |
features[node][] = event | |
;View | |
features[views_view][] = event_organizers | |
;User permission | |
features[user_permission][] = edit own event content | |
;Image style | |
features[image][] = adaptive | |
;Menu | |
features[menu_custom][] = my-menu | |
;Context | |
features[context][] = blog_post_detail_page | |
;Static bock using Features Extra | |
features[fe_block_boxes][] = my_custom_block | |
features[fe_block_settings][] = block-my_custom_block |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment