You are here

function media_wysiwyg_upgrade_content_tokens in D7 Media 7.4

Same name and namespace in other branches
  1. 7.3 modules/media_wysiwyg/includes/media_wysiwyg.pages.inc \media_wysiwyg_upgrade_content_tokens()

Confirmation wrapper form around upgrading media tokens.

1 string reference to 'media_wysiwyg_upgrade_content_tokens'
media_wysiwyg_menu in modules/media_wysiwyg/media_wysiwyg.module
Implements hook_menu().

File

modules/media_wysiwyg/includes/media_wysiwyg.pages.inc, line 240
Common pages for the Media WYSIWYG module.

Code

function media_wysiwyg_upgrade_content_tokens($form, &$form_state) {
  return confirm_form($form, t("Media token upgrade"), 'admin/reports/status', t("<p>This will inspect and upgrade all inserted media tokens in all text fields on all entities on the site where files are used. Make sure you have a recent backup of your database before you perform this operations. The text fields are individually upgraded directly in storage and no new revisions created for the touched entities. The post upgrade summary will only report the <em>number</em> of affected entities, not list them all.</p> <p><strong>Are you ready for this upgrade?</strong></p>"));
}