You are here

function print_epub_update_7202 in Printer, email and PDF versions 7.2

Enable block and help area links.

File

print_epub/print_epub.install, line 178
Install, update and uninstall functions for the print_epub module.

Code

function print_epub_update_7202(&$sandbox) {
  $link_pos = variable_get('print_epub_link_pos', drupal_json_decode('{ "link": "link", "block": "block", "help": "help" }'));
  $link_pos['block'] = 'block';
  $link_pos['help'] = 'help';
  variable_set('print_epub_link_pos', $link_pos);
}