You are here

function features_get_feature_components in Features 7

Same name and namespace in other branches
  1. 7.2 features.module \features_get_feature_components()

Returns components that are offered as an option on feature creation.

1 call to features_get_feature_components()
_drush_features_component_list in ./features.drush.inc
Returns a listing of all known components, indexed by source.

File

./features.module, line 511
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_feature_components() {
  return array_intersect_key(features_get_components(), array_filter(features_get_components(NULL, 'feature_source')));
}