You are here

function fb_app_install in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 5.2 fb_app.install \fb_app_install()
  2. 5 fb_app.install \fb_app_install()
  3. 6.2 fb_app.install \fb_app_install()
  4. 7.3 fb_app.install \fb_app_install()

hook_install()

File

./fb_app.install, line 11
Installs database tables and settings required by fb_app module.

Code

function fb_app_install() {

  // Create tables.
  drupal_install_schema('fb_app');
  drupal_set_message(st('Facebook Application module installed. Please grant yourself <a href="!perm">permissions</a> and then browse to <a href="!create">Admin >> Facebook Applications</a> to get started.', array(
    '!perm' => url('admin/user/permissions'),
    '!create' => url('admin/build/fb'),
  )));
}