function og_readme in Organic groups 5
Same name and namespace in other branches
- 5.8 og.module \og_readme()
- 5.3 og.module \og_readme()
- 5.7 og.module \og_readme()
- 6.2 og.module \og_readme()
- 6 og.module \og_readme()
3 calls to og_readme()
- og_admin_settings in ./
og.module - og_install in ./
og.install - og_requirements in ./
og.module
File
- ./
og.module, line 3006
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;
}