You are here

function view_mode_page_update_7100 in View Mode Page 7

Same name and namespace in other branches
  1. 8 view_mode_page.install \view_mode_page_update_7100()
  2. 8.2 view_mode_page.install \view_mode_page_update_7100()
  3. 7.2 view_mode_page.install \view_mode_page_update_7100()

Add title and show title fields.

File

./view_mode_page.install, line 56
Install the DB table for the View Mode Page module

Code

function view_mode_page_update_7100() {
  $schema = view_mode_page_module_schema();
  db_add_field('view_mode_page', 'show_title', $schema['view_mode_page']['fields']['show_title']);
  db_add_field('view_mode_page', 'title', $schema['view_mode_page']['fields']['title']);
}