function backup_migrate_schedule::get_list_row in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/schedules.inc \backup_migrate_schedule::get_list_row()
- 8.3 includes/schedules.inc \backup_migrate_schedule::get_list_row()
- 6.3 includes/schedules.inc \backup_migrate_schedule::get_list_row()
- 7.3 includes/schedules.inc \backup_migrate_schedule::get_list_row()
- 7.2 includes/schedules.inc \backup_migrate_schedule::get_list_row()
Get a row of data to be used in a list of items of this type.
Overrides backup_migrate_item::get_list_row
File
- includes/
schedules.inc, line 96
Class
- backup_migrate_schedule
- A schedule class for crud operations.
Code
function get_list_row() {
drupal_add_css(drupal_get_path('module', 'backup_migrate') . '/backup_migrate.css');
$row = parent::get_list_row();
if (!$this
->is_enabled()) {
foreach ($row as $key => $field) {
$row[$key] = array(
'data' => $field,
'class' => 'schedule-list-disabled',
);
}
}
return $row;
}