You are here

function feature_load in Features 6

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

Feature object loader.

5 calls to feature_load()
drush_features_add in ./features.drush.inc
Add a component to a features module.
drush_features_diff in ./features.drush.inc
Show the diff of a feature module.
drush_features_revert in ./features.drush.inc
Revert a feature to it's code definition.
drush_features_update in ./features.drush.inc
Update an existing feature module.
_drush_features_export in ./features.drush.inc
Write a module to the site dir.

File

./features.module, line 349
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 feature_load($name, $reset = FALSE) {
  return features_get_features($name, $reset);
}