function theme_entityreference_entity_id in Entity reference 7
Theme entity_id
1 theme call to theme_entityreference_entity_id()
- entityreference_field_formatter_view in ./
entityreference.module - Implements hook_field_formatter_view().
File
- ./
entityreference.module, line 1483 - Entityreference primary module file.
Code
function theme_entityreference_entity_id($vars) {
$settings = $vars['settings'];
$item = $vars['item'];
$output = '';
$output = check_plain($item['target_id']);
return $output;
}