You are here

function content_language_access_help in Content Language Access 6

Same name and namespace in other branches
  1. 8 content_language_access.module \content_language_access_help()
  2. 7 content_language_access.module \content_language_access_help()

Implements hook_help().

File

./content_language_access.module, line 50
This module provides access checking of the current language of the site with the language of the content (language neutral are not considered).

Code

function content_language_access_help($path, $arg) {
  switch ($path) {

    // Main module help for the content_language_access module.
    case 'admin/help#content_language_access':
      return '<p>' . t('Content Language Access Module restricts the access of only contents with language (except neutral language) that are equal of the actual Drupal language being accessed or others that were previous configured in the <a href="@content_language_access">admin page</a>.', array(
        '@content_language_access' => url('admin/settings/content_language_access'),
      )) . '</p>';

    // Help for admin page for the content_language_access module.
    case 'admin/settings/content_language_access':
      return '<p>' . t('This page provides an interface for configuring more languages that can be accessed from a Drupal language') . '</p>';
  }
}