function nd_label_options in Node displays 6
Return array of available label options.
Parameters
string $build_mode The build mode. Needed for a check on RSS build mode.:
1 call to nd_label_options()
- nd_field_default_form_properties in includes/
nd.display.inc - Function to load default form properties for a field in a context
File
- includes/
nd.display.inc, line 193 - Display overview form.
Code
function nd_label_options($build_mode = 'anything') {
if ($build_mode != NODE_BUILD_RSS) {
return array(
'above' => t('Above'),
'inline' => t('Inline'),
'hidden' => t('<Hidden>'),
);
}
else {
return array(
'inline' => t('Show'),
'hidden' => t('<Hidden>'),
);
}
}