You are here

function hook_features_enable_feature in Features 7.2

Component hook. Called when a feature gets enabled.

Parameters

string $module_name: Name of the feature that was enabled.

See also

\_features_restore()

1 function implements hook_features_enable_feature()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

node_features_enable_feature in includes/features.node.inc
Implements hook_features_enable_feature().

File

./features.api.php, line 293
Hooks provided by the features module.

Code

function hook_features_enable_feature($module_name) {

  // React to the feature being enabled.
}