function popup_onload_update_7102 in Popup On Load 7
Implements hook_update_N().
1. Add active_popup field.
File
- ./
popup_onload.install, line 132 - Install, update, and uninstall functions for the Popup On Load module.
Code
function popup_onload_update_7102() {
db_add_field('popup_onload', 'active_popup', [
'description' => 'Provide option to deactivate popup.',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 1,
]);
}