You are here

function menu_ctools_block_info in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 plugins/content_types/block/block.inc \menu_ctools_block_info()

These are all on behalf of modules that don't implement ctools but that we care about.

File

plugins/content_types/block/block.inc, line 281
Provide Drupal blocks as content.

Code

function menu_ctools_block_info($module, $delta, &$info) {
  $info['icon'] = 'icon_core_block_menu.png';
  $info['category'] = t('Menus');
  if ($delta == 'primary-links' || $delta == 'secondary-links') {
    $info['icon'] = 'icon_core_primarylinks.png';
  }
}