You are here

function _name_format_add_component in Name Field 6

Same name and namespace in other branches
  1. 7 includes/name.parser.inc \_name_format_add_component()
1 call to _name_format_add_component()
_name_format in includes/name.parser.inc

File

includes/name.parser.inc, line 238
Provides the functionality and information about the Name module name parsing engine.

Code

function _name_format_add_component($string, &$modifiers = '', &$conditions = '') {
  $string = _name_format_apply_modifiers($string, $modifiers);
  $piece = array(
    'value' => $string,
    'conditions' => $conditions,
  );
  $conditions = '';
  $modifiers = '';
  return $piece;
}