You are here

field_label_plurals.install in Field label plurals 7

Same filename and directory in other branches
  1. 8 field_label_plurals.install

Shows a message how to use the module when enabling.

File

field_label_plurals.install
View source
<?php

/**
 * @file
 * Shows a message how to use the module when enabling.
 */

/**
 * Implements hook_enable().
 */
function field_label_plurals_enable() {
  if (module_exists('field_ui')) {
    drupal_set_message(t('You can now give fields a different label for singular and plural on all field edit pages.'));
  }
  else {
    drupal_set_message(t('Enable the Field UI module if you want to adjust singular and plural labels of fields.'));
  }
}

Functions

Namesort descending Description
field_label_plurals_enable Implements hook_enable().