You are here

function features_revert in Features 7

Same name and namespace in other branches
  1. 6 features.module \features_revert()
  2. 7.2 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. Optionally accept a list of components to revert.
FeaturesUserTestCase::test in tests/features.test
Run test.
features_admin_components_revert in ./features.admin.inc
Submit handler for revert form.
3 string references to 'features_revert'
drush_features_revert in ./features.drush.inc
Revert a feature to it's code definition. Optionally accept a list of components to revert.
FeaturesCtoolsIntegrationTest::testModuleEnable in tests/features.test
Run test.
_features_restore in ./features.module
Restore the specified modules to the default state.

File

./features.module, line 893
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);
}