You are here

function og_install in Organic groups 6

Same name and namespace in other branches
  1. 5.8 og.install \og_install()
  2. 5 og.install \og_install()
  3. 5.2 og.install \og_install()
  4. 5.3 og.install \og_install()
  5. 5.7 og.install \og_install()
  6. 6.2 og.install \og_install()
  7. 7.2 og.install \og_install()
  8. 7 og.install \og_install()

File

./og.install, line 159

Code

function og_install() {
  drupal_install_schema('og');

  // enable standard og blocks. for custom profiles, block may not be included yet.
  if (function_exists('_block_rehash')) {
    _block_rehash();
  }

  // Need og_readme() function.
  drupal_load('module', 'og');
  drupal_set_message(t('Organic groups module enabled. Please see the included !readme_file for further installation instructions.', array(
    '!readme_file' => og_readme(),
  )));
}