You are here

function og_readme in Organic groups 6

Same name and namespace in other branches
  1. 5.8 og.module \og_readme()
  2. 5 og.module \og_readme()
  3. 5.3 og.module \og_readme()
  4. 5.7 og.module \og_readme()
  5. 6.2 og.module \og_readme()
4 calls to og_readme()
og_install in ./og.install
og_requirements in ./og.install
og_views_form_og_admin_settings_alter in modules/og_views/og_views.module
Implementation of hook_form_TAG_alter().
og_views_handler_filter_og_type_all::query in modules/og_views/includes/og_views_handler_filter_og_type_all.inc

File

./og.module, line 2687

Code

function og_readme() {
  global $base_path;

  // this link has to work when clean urls are disabled and drupal in subdir.
  $href = drupal_get_path('module', 'og') . '/README.txt';
  $link = "<a href=\"{$base_path}{$href}\">" . t('README file') . '</a>';
  return $link;
}