function _ctools_get_block_info

Fetch the stored info for a block.

The primary reason to use this is so that modules which perform alters can have their alters make it to the block.

1 call to _ctools_get_block_info()
ctools_block_content_type_render in plugins/content_types/block/block.inc
Output function for the 'block' content type. Outputs a block based on the module and delta supplied in the configuration.

File

plugins/content_types/block/block.inc, line 131

Code

function _ctools_get_block_info($module, $delta) {
    $blocks = _ctools_block_load_blocks();
    $key = $module . '_' . $delta;
    if (isset($blocks[$key])) {
        return $blocks[$key];
    }
}