You are here

function features_rebuild in Features 6

Same name and namespace in other branches
  1. 7.2 features.module \features_rebuild()
  2. 7 features.module \features_rebuild()

Wrapper around _features_restore().

4 calls to features_rebuild()
FeaturesUserTestCase::setUp in tests/features.test
Set up test.
features_admin_form in ./features.admin.inc
admin/build/features page callback.
features_flush_caches in ./features.module
Implementation of hook_flush_caches().
features_form_system_modules_alter in ./features.module
Implementation of hook_form_alter() for system_modules form.
3 string references to 'features_rebuild'
features_get_component_states in ./features.export.inc
Retrieve an array of features/components and their current states.
features_update_6101 in ./features.install
Update 6101: Set codestate signature for all features.
_features_restore in ./features.module
Restore the specified modules to the default state.

File

./features.module, line 732
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_rebuild($rebuild = array()) {
  return _features_restore('rebuild', $rebuild);
}