You are here

function panels_install in Panels 6.2

Same name and namespace in other branches
  1. 5.2 panels.install \panels_install()
  2. 5 panels.install \panels_install()
  3. 6.3 panels.install \panels_install()

Implementation of hook_install().

File

./panels.install, line 138

Code

function panels_install() {
  db_query("UPDATE {system} SET weight = 10 WHERE name = 'panels'");
  drupal_set_message(st('Please keep in mind that this is an Alpha release of Panels for Drupal 6, and is NOT intended for use on production sites.'));
  drupal_set_message(st('Additionally, the upgrade path from Drupal 5 has NOT been resolved, and should not be attempted.'));
  drupal_set_message(st('Bug reports are encouraged, especially when they come with patches! The <a href="@link">Panels project page</a> has details on filing issues.', array(
    '@link' => 'http://drupal.org/project/panels',
  )));
  drupal_install_schema('panels');
}