function features_revert in Features 6
Same name and namespace in other branches
- 7.2 features.module \features_revert()
- 7 features.module \features_revert()
Wrapper around _features_restore().
3 calls to features_revert()
- drush_features_revert in ./
features.drush.inc - Revert a feature to it's code definition.
- FeaturesUserTestCase::test in tests/
features.test - Run test.
- features_admin_components_revert in ./
features.admin.inc - Submit handler for revert form.
2 string references to 'features_revert'
- drush_features_revert in ./
features.drush.inc - Revert a feature to it's code definition.
- _features_restore in ./
features.module - Restore the specified modules to the default state.
File
- ./
features.module, line 725 - Module file for the features module, which enables the capture and management of features in Drupal. A feature is a collection of Drupal entities which taken together statisfy a certain use-case.
Code
function features_revert($revert = array()) {
return _features_restore('revert', $revert);
}