function theme_cmis_field_formatter_default in CMIS API 6.4
Same name and namespace in other branches
- 6.3 cmis_field/cmis_field.module \theme_cmis_field_formatter_default()
CMIS field default formatter.
File
- cmis_field/
cmis_field.module, line 196
Code
function theme_cmis_field_formatter_default($element = NULL) {
$content = '';
if (is_array($element) && array_key_exists('#item', $element)) {
$content = l($element['#item']['path'], 'cmis/browser' . $element['#item']['path']);
}
return $content;
}