function _block_get_renderable_array

cis7 block.module _block_get_renderable_array($list = array())
cle7 block.module _block_get_renderable_array($list = array())
elmsmedia7 block.module _block_get_renderable_array($list = array())
icor7 block.module _block_get_renderable_array($list = array())
meedjum_blog7 block.module _block_get_renderable_array($list = array())
mooc7 block.module _block_get_renderable_array($list = array())

Gets an array of blocks suitable for drupal_render().


$list: A list of blocks such as that returned by block_list().

Return value

A renderable array.

10 calls to _block_get_renderable_array()
block_get_blocks_by_region in modules/block/block.module
Gets a renderable array of a region containing all enabled blocks.
boxes_footer in sites/all/modules/ulmus/boxes/boxes.module
Implements hook_footer().
context_reaction_block::block_get_blocks_by_region in sites/all/modules/ulmus/context/plugins/
Get a renderable array of a region containing all enabled blocks.
context_reaction_block::render_ajax in sites/all/modules/ulmus/context/plugins/
Block renderer for AJAX requests. Triggered when $_GET['context_block'] is set. See ->execute() for how this is called.
dashboard_page_build in modules/dashboard/dashboard.module
Implements hook_page_build().

... See full list


modules/block/block.module, line 333
Controls the visual building blocks a page is constructed with.


function _block_get_renderable_array($list = array()) {
  $weight = 0;
  $build = array();
  foreach ($list as $key => $block) {
    $build[$key] = $block->content;

    // Add contextual links for this block; skip the main content block, since
    // contextual links are basically output as tabs/local tasks already. Also
    // skip the help block, since we assume that most users do not need or want
    // to perform contextual actions on the help block, and the links needlessly
    // draw attention on it.
    if ($key != 'system_main' && $key != 'system_help') {
      $build[$key]['#contextual_links']['block'] = array('admin/structure/block/manage', array($block->module, $block->delta));

    $build[$key] += array(
      '#block' => $block,
      '#weight' => ++$weight,
    $build[$key]['#theme_wrappers'][] = 'block';
  $build['#sorted'] = TRUE;
  return $build;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.