function backup_migrate_destination::get_list_row

nittany7 destinations.inc backup_migrate_destination::get_list_row()
mooc7 destinations.inc backup_migrate_destination::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

1 method overrides backup_migrate_destination::get_list_row()
backup_migrate_destination_browser::get_list_row in modules/contrib/backup_migrate/includes/destinations.browser.inc
Get a row of data to be used in a list of items of this type.

File

modules/contrib/backup_migrate/includes/destinations.inc, line 837
All of the destination handling code needed for Backup and Migrate.

Class

backup_migrate_destination
A base class for creating destinations.

Code

function get_list_row() {
  $out = parent::get_list_row();

  // Supress destinations with no actions as there's no value in showing them (and they may confuse new users).
  if (empty($out['actions'])) {
    return NULL;
  }
  return $out;
}