You are here

function page_title_install in Page Title 6.2

Same name and namespace in other branches
  1. 5.2 page_title.install \page_title_install()
  2. 5 page_title.install \page_title_install()
  3. 6 page_title.install \page_title_install()
  4. 7 page_title.install \page_title_install()

Implementation of hook_install().

File

./page_title.install, line 11
The install file for Page Title allows the module to install (and uninstall) itself. This is required as this module uses its own table.

Code

function page_title_install() {
  drupal_install_schema('page_title');
  drupal_set_message(t('Page Title has been installed. Please go to <strong>Admin > Site Configuration > Page title</strong> to configure the settings for your site, or !link', array(
    '!link' => l(t('click here'), 'admin/settings/page-title'),
  )));
}