function _fc_incomplete_block_info in Field Complete 7
Implements hook_block_info().
1 call to _fc_incomplete_block_info()
- fc_incomplete_block_info in fc_incomplete/
fc_incomplete.module - Implements hook_block_info().
File
- fc_incomplete/
fc_incomplete.registry.inc, line 10 - Field Incomplete - Provides a block displaying of what's currently incomplete on an entity - registry.
Code
function _fc_incomplete_block_info() {
$blocks = array();
foreach (fc_entity_types() as $entity_type => $entity_info) {
$blocks[$entity_type] = array(
'info' => t('Field Incomplete: @type', array(
'@type' => $entity_info['label'],
)),
'cache' => DRUPAL_NO_CACHE,
);
}
return $blocks;
}