You are here

function popup_onload_update_7103 in Popup On Load 7

Implements hook_update_N().

1. Add cookie cookie_lifetime_single field.

File

./popup_onload.install, line 148
Install, update, and uninstall functions for the Popup On Load module.

Code

function popup_onload_update_7103() {
  db_add_field('popup_onload', 'cookie_lifetime_single', [
    'description' => 'Provide ability to set cookie lifetime for single popup',
    'type' => 'int',
    'not null' => FALSE,
    'default' => NULL,
  ]);
}