You are here

function oa_archive_flag_default_flags_alter in Open Atrium Archive 7.2

Implements hook_flag_default_flags_alter().

File

./oa_archive.features.inc, line 10
oa_archive.features.inc

Code

function oa_archive_flag_default_flags_alter(&$data) {
  if (isset($data['trash'])) {
    $data['trash']['flag_confirmation'] = 'Are you sure you want to archive this item? You may be unable to access it after archiving.';

    /* WAS: 'Are you sure you want to trash this item? You may be unable to access it after trashing.' */
    $data['trash']['flag_long'] = 'Move item to the site archive';

    /* WAS: 'Move item to the site trash bin.' */
    $data['trash']['flag_message'] = 'Item has been archived';

    /* WAS: 'Item has been trashed' */
    $data['trash']['flag_short'] = 'Archive This';

    /* WAS: 'Move to Trash' */
    $data['trash']['show_on_page'] = 0;

    /* WAS: 1 */
    $data['trash']['title'] = 'Archive';

    /* WAS: 'Trash' */
    $data['trash']['unflag_confirmation'] = 'Are you sure you want to remove this item from archive?';

    /* WAS: 'Are you sure you want to remove this item from trash?' */
    $data['trash']['unflag_denied_text'] = 'Archived';

    /* WAS: 'trashed' */
    $data['trash']['unflag_long'] = 'Unarchive item and restore previous access settings.';

    /* WAS: 'Remove from trash item and restore previous access settings.' */
    $data['trash']['unflag_message'] = 'Item removed from archive';

    /* WAS: 'Item removed from Trash' */
    $data['trash']['unflag_short'] = 'Remove from archive';

    /* WAS: 'Remove from Trash' */
  }
}