You are here

function theme_backup_migrate_group in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 backup_migrate.module \theme_backup_migrate_group()
  2. 6.3 backup_migrate.module \theme_backup_migrate_group()

Theme the dependent form section.

2 theme calls to theme_backup_migrate_group()
backup_migrate_crud_ui_list_all in includes/crud.inc
Page callback to list all items.
backup_migrate_destination::edit_form in includes/destinations.inc
Get the edit form for the item.

File

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

Code

function theme_backup_migrate_group($vars) {
  $output = '';
  if (!empty($vars['title'])) {
    $output .= '<h2 class="backup-migrate-group-title">' . $vars['title'] . '</h2>';
  }
  if (!empty($vars['description'])) {
    $output .= '<div class="backup-migrate-group-description backup-migrate-description description">' . $vars['description'] . '</div>';
  }
  $output .= '<div class="backup-migrate-group-body">' . $vars['body'] . '</div>';
  $output = '<div class="backup-migrate-group">' . $output . '</div>';
  return $output;
}