function ldap_settings_features_export in LDAP integration 6
Implementation of hook_features_export [component hook]
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
- ./
ldapauth.features.inc, line 180 - Feature related functions.
Code
function ldap_settings_features_export($data, &$export, $module_name = "") {
$export['dependencies']['ldapauth'] = 'ldapauth';
$submodules = ldapauth_submodules('ldap_settings');
foreach ($submodules as $submodule) {
if (module_exists($submodule)) {
$export['dependencies'][$submodule] = $submodule;
}
}
return variable_features_export($data, $export, $module_name);
}