function features_rebuild in Features 7.2
Same name and namespace in other branches
- 6 features.module \features_rebuild()
- 7 features.module \features_rebuild()
Wrapper around _features_restore().
Parameters
string[][] $rebuild: Module components to be rebuilt. If empty, all applicable feature modules will be rebuilt. Format: $[$module_name][] = $component E.g. $['myfeature'][] = 'field_instance'.
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_flush_caches in ./
features.module - Implements hook_flush_caches().
- features_form_system_modules_alter in ./
features.module - Implements hook_form_FORM_ID_alter() for 'system_modules' form().
- _features_get_features_list in ./
features.admin.inc - Retrieves the array of features as expected on the Manage Features form.
5 string references to 'features_rebuild'
- features_admin_components in ./
features.admin.inc - Form builder for 'admin/structure/features/%feature'.
- features_get_component_states in ./
features.export.inc - Retrieve an array of features/components and their current states.
- features_settings_form in ./
features.admin.inc - Form builder for 'admin/structure/features/settings'.
- 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 1273 - Main *.module file for the 'features' module.
Code
function features_rebuild($rebuild = array()) {
return _features_restore('rebuild', $rebuild);
}