function theme_fc_incomplete_entity_name in Field Complete 7
1 theme call to theme_fc_incomplete_entity_name()
- fc_incomplete_preprocess_fc_incomplete_header in fc_incomplete/
fc_incomplete.module - Implements hook_preprocess_fc_incomplete_header().
File
- fc_incomplete/
fc_incomplete.themes.inc, line 11 - Field Incomplete - Provides a block displaying of what's currently incomplete on an entity - themes.
Code
function theme_fc_incomplete_entity_name($vars) {
$info = entity_get_info($vars['entity_type']);
return '(' . ($vars['depth'] == 0 ? t('Top level') : $info['label']) . ')';
}