function field_label_plurals_enable in Field label plurals 7
Implements hook_enable().
File
- ./
field_label_plurals.install, line 11 - Shows a message how to use the module when enabling.
Code
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.'));
}
}