You are here

function empty_page_install in Empty Page 7

Same name and namespace in other branches
  1. 8 empty_page.install \empty_page_install()

Implements hook_install().

File

./empty_page.install, line 13
Installation file.

Code

function empty_page_install() {

  // When menu items are being retrieved, Empty Page's hook_menu needs to come last so that path overrides work.
  db_update('system')
    ->fields(array(
    'weight' => 1000,
  ))
    ->condition('name', 'empty_page')
    ->execute();
}