You are here

function rules_element_invoke_component_features_export in Rules 7.2

Implements the features export callback of the RulesPluginFeaturesIntegrationInterface.

Related topics

File

modules/rules_core.rules.inc, line 314
Rules integration with Drupal core.

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'];
}