You are here

function configurations_ui_operations_helper in Configuration Management 7.2

1 call to configurations_ui_operations_helper()
configuration_ui_configuration_list in ui/configuration_ui.admin.inc
Helper function for configuration lists.

File

ui/configuration_ui.admin.inc, line 60
User interface functions for Configuration Management.

Code

function configurations_ui_operations_helper($ui, $id) {
  switch ($ui) {
    case 'tracking':
      return l(t('Stop Tracking'), 'admin/config/system/configuration/stop_tracking/' . $id) . ' | ' . l(t('View info'), 'admin/config/system/configuration/view/' . $id);
      break;
    case 'no_tracking':
      return l(t('Start Tracking'), 'admin/config/system/configuration/start_tracking/' . $id) . ' | ' . l(t('View info'), 'admin/config/system/configuration/view/' . $id);
      break;
    case 'export':
      return l(t('View info'), 'admin/config/system/configuration/view/' . $id);
      break;
  }
}