You are here

function field_label_plurals_help in Field label plurals 7

Implements hook_help().

File

./field_label_plurals.module, line 12
Alter the field settings form to add a textfield for the singular and use those settings when preprocessing fields.

Code

function field_label_plurals_help($path, $arg) {
  switch ($path) {
    case 'admin/help#field_label_plurals':
      $output = '<h3>' . t('Field label plurals') . '</h3>';
      $output .= '<p>' . t('Some fields can have multiple values. See the "Number of values" setting when editing a field. If that is set, then the <em>Field label plurals</em> module shows a "Label to use for a single value" setting right below the "Label" textfield.') . '</p>';
      return $output;
  }
}