You are here

function backup_migrate_array_name_value in Backup and Migrate 7.3

Returns the "name" element from an array.

Callback for array_map() within backup_migrate_destination_db_mysql::_restore_db_from_file() and backup_migrate_source_db_mysql::_restore_db_from_file().

2 string references to 'backup_migrate_array_name_value'
backup_migrate_destination_db_mysql::_restore_db_from_file in includes/destinations.db.mysql.inc
Backup the databases to a file.
backup_migrate_source_db_mysql::_restore_db_from_file in includes/sources.db.mysql.inc
Backup the databases to a file.

File

./backup_migrate.module, line 2144
Backup and restore databases for Drupal.

Code

function backup_migrate_array_name_value($a) {
  return $a["name"];
}