function finder_ui_element_type in Finder 7.2
Get translatable string name of element handler type.
3 calls to finder_ui_element_type()
- finder_ui_element in modules/
finder_ui/ includes/ element.inc - Finder UI element.
- finder_ui_get_element_help in modules/
finder_ui/ includes/ common.inc - Get element handlers and convert to options array.
- finder_ui_get_element_options in modules/
finder_ui/ includes/ common.inc - Get element handlers and convert to options array.
File
- modules/
finder_ui/ includes/ common.inc, line 217 - common.inc
Code
function finder_ui_element_type($element_handler, $plural = FALSE) {
$suffix = $plural ? 'elements' : 'element';
return t('!type ' . $suffix, array(
'!type' => drupal_ucfirst($element_handler['type']),
));
}