You are here

function backup_migrate_destination::get_list_row in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 6.2 includes/destinations.inc \backup_migrate_destination::get_list_row()
  2. 7.2 includes/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 includes/destinations.browser.inc
Get a row of data to be used in a list of items of this type.

File

includes/destinations.inc, line 796

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;
}