You are here

function theme_backup_migrate_group in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 backup_migrate.module \theme_backup_migrate_group()
  2. 7.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 970
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

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