You are here

function features_rebuild in Features 7

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

Wrapper around _features_restore().

5 calls to features_rebuild()
FeaturesEnableTestCase::testFeaturesGetComponents in tests/features.test
Run test for features_get_components on enable.
FeaturesUserTestCase::setUp in tests/features.test
Set up test.
features_admin_form in ./features.admin.inc
Form constructor for the features configuration form.
features_flush_caches in ./features.module
Implements hook_flush_caches().
features_form_system_modules_alter in ./features.module
Implements 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 900
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);
}