1 entityreference.module theme_entityreference_entity_id($vars)

Theme entity_id

File

core/modules/entityreference/entityreference.module, line 1589
Entityreference primary module file.

Code

function theme_entityreference_entity_id($vars) {
  $item = $vars['item'];

  $output = '';

  $output = check_plain($item['target_id']);

  return $output;
}