function _fc_progress_block_info in Field Complete 7
Implements hook_block_info().
1 call to _fc_progress_block_info()
- fc_progress_block_info in fc_progress/
fc_progress.module - Implements hook_block_info().
File
- fc_progress/
fc_progress.registry.inc, line 10 - Field Complete Progress - Provides blocks to display a progress bar of Field completion - registry.
Code
function _fc_progress_block_info() {
$blocks = array();
foreach (fc_entity_types() as $entity_type => $entity_info) {
$blocks[$entity_type] = array(
'info' => t('Field Complete Progress: @type', array(
'@type' => $entity_info['label'],
)),
'cache' => DRUPAL_NO_CACHE,
);
}
return $blocks;
}