function rules_element_invoke_component_features_export

Implements the features export callback of the RulesPluginFeaturesIntegrationInterface.

Related topics

File

modules/rules_core.rules.inc, line 314

Code

function rules_element_invoke_component_features_export(&$export, &$pipe, $module_name, $element) {
    // Add the used component to the pipe.
    $info = $element->info();
    $pipe['rules_config'][] = $info['#config_name'];
}