You are here

function print_pdf_update_7202 in Printer, email and PDF versions 7.2

Enable block and help area links.

File

print_pdf/print_pdf.install, line 285
Install, update and uninstall functions for the print_pdf module.

Code

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