You are here

function name_construct_components in Name Field 6

A brigding function to warn users that are using any custom code.

TODO: Remove from Drupal 7 and latter branches past 6-1.x.

File

./name.module, line 254
Defines an API for displaying and inputing names.

Code

function name_construct_components() {
  $warning = FALSE;
  if (!$warning) {
    drupal_set_message(t('The function "%func" is do longer available. This code should be refactored to use "name_format".'), 'error');
    $warning = TRUE;
  }
  return '';
}