You are here

function workbench_scheduler_features_export_options in Workbench Scheduler 7

Same name and namespace in other branches
  1. 7.2 workbench_scheduler.features.inc \workbench_scheduler_features_export_options()

Implements COMPONENT_features_export_options().

Inform features about the available schedules in the database.

File

./workbench_scheduler.features.inc, line 27
Features file for the workbench_scheduler module.

Code

function workbench_scheduler_features_export_options() {
  return db_select('workbench_scheduler_schedules', 'wss')
    ->fields('wss', array(
    'name',
    'name',
  ))
    ->execute()
    ->fetchAllKeyed();
}