function ctools_block_content_type_content_type

Return the block content types with the specified $subtype_id.

1 string reference to 'ctools_block_content_type_content_type'
block.inc in plugins/content_types/block/block.inc
Provide Drupal blocks as content.

File

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

Code

function ctools_block_content_type_content_type($subtype_id) {
    list($module, $delta) = explode('-', $subtype_id, 2);
    $module_blocks = module_invoke($module, 'block_info');
    if (isset($module_blocks[$delta])) {
        return _ctools_block_content_type_content_type($module, $delta, $module_blocks[$delta]);
    }
}