You are here

function _name_formatter_output_options in Name Field 7

Same name and namespace in other branches
  1. 8 name.module \_name_formatter_output_options()

Helper function to define the available output formatter options.

3 calls to _name_formatter_output_options()
name_field_diff_options_form in ./name.diff.inc
Provide a form for setting the field comparison options.
name_field_formatter_settings_form in ./name.module
Implements hook_field_formatter_settings_form().
name_field_formatter_settings_summary in ./name.module
Implements hook_field_formatter_settings_summary().

File

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

Code

function _name_formatter_output_options() {
  return array(
    'default' => t('Default'),
    'plain' => t('Plain text'),
    'raw' => t('Raw value (not recommended)'),
  );
}