fc_progress.themes.inc in Field Complete 7
Field Complete Progress - Provides blocks to display a progress bar of Field completion - themes.
File
fc_progress/fc_progress.themes.incView source
<?php
/**
* @file
* Field Complete Progress - Provides blocks to display a progress bar of Field completion - themes.
*/
function theme_fc_progress_complete($vars) {
return '[' . ($vars['complete'] ? t('complete') : t('progress')) . ']';
}
function theme_fc_progress_entity_name($vars) {
$info = entity_get_info($vars['entity_type']);
return '(' . ($vars['depth'] == 0 ? t('Top level') : $info['label']) . ')';
}
Functions
Name | Description |
---|---|
theme_fc_progress_complete | @file Field Complete Progress - Provides blocks to display a progress bar of Field completion - themes. |
theme_fc_progress_entity_name |