function _name_formatter_output_options in Name Field 8
Same name and namespace in other branches
- 7 name.module \_name_formatter_output_options()
Helper function to define the available output formatter options.
File
- ./
name.module, line 686 - Defines an API for displaying and inputing names.
Code
function _name_formatter_output_options() {
return [
'default' => t('Default'),
'plain' => t('Plain text'),
'raw' => t('Raw value (not recommended)'),
];
}