function fe_nodequeue_features_export_options in Features Extra 7
Implements hook_features_export_options().
File
- fe_nodequeue/
fe_nodequeue.module, line 25 - Main functions and hook implementations of the FE Nodequeue module.
Code
function fe_nodequeue_features_export_options() {
$options = array();
$fields = db_query('SELECT * FROM {nodequeue_queue}');
while ($obj = $fields
->fetchObject()) {
$options[$obj->name] = t('@name [@machine_name]', array(
'@name' => $obj->title,
'@machine_name' => $obj->name,
));
}
return $options;
}