function fe_profile_features_export_options in Features Extra 7
Implements hook_features_export_options().
File
- fe_profile/
fe_profile.module, line 25 - Main functions and hook implementations for FE Profile.
Code
function fe_profile_features_export_options() {
$options = array();
$table = 'profile_field';
$query = "SELECT * FROM {{$table}}";
$fields = db_query($query);
while ($row = $fields
->fetchObject()) {
$options[$row->name] = $row->name;
}
return $options;
}