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?
campus_dropdown
, name of the component or the module?features_revert_module("campus_dropdown")
instead (ifcampus_dropdown
is the module). Check the link below for the right syntax.