You are here

function features_feature_status in Features 7

Same name and namespace in other branches
  1. 6 features.admin.inc \features_feature_status()
  2. 7.2 features.admin.inc \features_feature_status()

Javascript callback that returns the status of a feature.

1 string reference to 'features_feature_status'
features_menu in ./features.module
Implements hook_menu().

File

./features.admin.inc, line 831
@todo.

Code

function features_feature_status($feature) {
  module_load_include('inc', 'features', 'features.export');
  return drupal_json_output(array(
    'storage' => features_get_storage($feature->name),
  ));
}