Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3976408
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:48:03+00:00 2026-05-20T04:48:03+00:00

Is there a drush command to update a Feature when you add a new

  • 0

Is there a drush command to update a Feature when you add a new module dependency? I know you can use the FU command to update changes to already-added views, content types, etc… but I’m wondering about adding new views, content types, and module dependencies. So far the only way I’ve found to incorporate those changes into a Feature is to re-download it.

Thankfully Git has made that process a lot easier than it used to be with SVN.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:48:04+00:00Added an answer on May 20, 2026 at 4:48 am

    If you are comfortable editing your .info file, the format Features uses to identify which components should be exported is quite simple. For example:

      features[node][] = "node_type"
      features[view][] = "view_name"
      features[variable][] = "variable_name"
    

    By adding any of these to your .info file and running drush fu, the resulting module will include those specified components if they were not previou.sly exported. Features will take care of adding any other bits and pieces that it thinks should be there.

    Module dependencies for features work the same as module dependencies for any module in Drupal– just add dependencies[] = "module_name" to your feature’s .info file.

    This is the primary way I update features, and with a couple more steps you can create and enable a blank module and “featurize” it by adding features components to your .info file in this way.

    A drush command such as drush features-add-component featurename --node=new_type could be created, but I don’t believe there is a published command that does that. There are several drush scripts with expanded features administration functionality scattered around the Features issues queues and a few projects under development. The main advantage of a command like this would be a command-line version of the Features UI–showing the features-builder which components are available for export. That utility is somewhat limited if you are comfortable hand-editing the .info file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are many string matching algorithms can be used to find a pattern (string)
There is an interesting feature in the Foursquare App's TabBar The central button in
There can only be one IDENTITY column per table Why is it so? Take
There's no Sort() function for IList . Can someoene help me with this? I
There are are 150 000 records in my comments table and about 1000 new
There are two arraylists: ArrayList<Integer[]> arr1 = new ArrayList<Integer[]>(); ArrayList<Integer[]> arr2 = new ArrayList<Integer[]>();
How can I create a new route/menu in Drupal that doesn't automatically render a
There's a lot of reading on self referencing problems, but I can't seem to
There are some Delegates predefined in C# I know these: EventHandler // Default event
There are some posts that asks what the difference between those two are already.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.