function search_autocomplete_config_features_export in Search Autocomplete 7.4
Implements hook_features_export().
This is a component hook, rather then a module hook, therefore this is the callback from hook_features_api which relates to the specific component we are looking to export. When a specific instance of the component we are looking to export is selected, this will include the necessary item, plus any dependencies into our export array.
Parameters
array $data: this is the machine name for the component in question
array &$export: array of all components to be exported
string $module_name: The name of the feature module to be generated.
Return value
array The pipe array of further processors that should be called
File
- ./
search_autocomplete.features.inc, line 51 - Search Autocomplete Add support for CTools and feature import/export.
Code
function search_autocomplete_config_features_export($data, &$export, $module_name) {
foreach ($data as $component) {
$export['features']['search_autocomplete_config'][$component] = $component;
}
return array();
}