You are here

function features_get_features in Features 6

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

Wrapper around features_get_info() that returns an array of module info objects that are features.

16 calls to features_get_features()
dependencies_features_rebuild in includes/features.features.inc
Implementation of hook_features_rebuild(). Ensure that all of a feature's dependencies are enabled.
drush_features_add in ./features.drush.inc
Add a component to a features module.
drush_features_list in ./features.drush.inc
Get a list of all feature modules.
drush_features_revert_all in ./features.drush.inc
Revert all enabled features to their definitions in code.
drush_features_update in ./features.drush.inc
Update an existing feature module.

... See full list

1 string reference to 'features_get_features'
features_update_6101 in ./features.install
Update 6101: Set codestate signature for all features.

File

./features.module, line 467
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_get_features($name = NULL, $reset = FALSE) {
  return features_get_info('feature', $name, $reset);
}