1

This question already has an answer here:

I've created a feature to update a menu. Then in my deploy module, I did this:

function phoenix_deploy_update_7106() {
  $feature_list = array(
    'campus_dropdown',
  );
  features_revert($feature_list);
}

but then running drush updb -y on the staging site, doesn't enable my new menu items.

Have I gotten the commands right to revert the feature?

marked as duplicate by Shawn Conn, kiamlaluno Oct 24 '15 at 19:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What's campus_dropdown, name of the component or the module? – kenorb Oct 23 '15 at 22:05
  • 1
    I think your syntax is not correct, as you're not specifying which components you want to revert or use features_revert_module("campus_dropdown") instead (if campus_dropdown is the module). Check the link below for the right syntax. – kenorb Oct 23 '15 at 22:13