You are here

function unique_field_help in Unique field 7

Same name and namespace in other branches
  1. 8.2 unique_field.module \unique_field_help()
  2. 8 unique_field.module \unique_field_help()
  3. 6 unique_field.module \unique_field_help()

Implements hook_help().

File

./unique_field.module, line 35
Provides content validation requirement that a node's author, language, taxonomy terms, or other fields are unique.

Code

function unique_field_help($path, $arg) {
  switch ($path) {
    case 'admin/help#unique_field':
      $output = '<p>' . t("The Unique Field module allows administrators to require that content supplied for specified fields is unique. For example, you may require that each node has a unique title or a different author. For configuration options, please see the <em>Unique Field restrictions</em> section of a content type's administration page.") . '</p>';
      return $output;
  }
}