You are here

function backup_migrate_item::delete_confirm_message in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_item::delete_confirm_message()
  2. 6.3 includes/crud.inc \backup_migrate_item::delete_confirm_message()
  3. 6.2 includes/crud.inc \backup_migrate_item::delete_confirm_message()
  4. 7.3 includes/crud.inc \backup_migrate_item::delete_confirm_message()
  5. 7.2 includes/crud.inc \backup_migrate_item::delete_confirm_message()

Get the message to send to the user when confirming the deletion of the item.

3 methods override backup_migrate_item::delete_confirm_message()
backup_migrate_location::delete_confirm_message in includes/locations.inc
Get the message to send to the user when confirming the deletion of the item.
backup_migrate_profile::delete_confirm_message in includes/profiles.inc
Get the message to send to the user when confirming the deletion of the item.
backup_migrate_schedule::delete_confirm_message in includes/schedules.inc
Get the message to send to the user when confirming the deletion of the item.

File

includes/crud.inc, line 829
CRUD functions for backup and migrate types (schedules, profiles etc.).

Class

backup_migrate_item
A base class for items which can be stored in the database, listed, edited, deleted etc.

Code

function delete_confirm_message() {
  return t('Are you sure you want to delete the !type %name?', array(
    '!type' => t($this->singular),
    '%name' => $this
      ->get('name'),
  ));
}