Posted By

grgcnnr on 10/13/11


Tagged

drupal block drupal7


Versions (?)

Loading full block including contextual menu via a template or custom loader function


 / Published in: PHP
 

  1. $block = block_load('module', 'block_name/delta');
  2. $output = drupal_render(_block_get_renderable_array(_block_render_blocks(array($block))));
  3.  
  4. //in template
  5. print $output;

Report this snippet  

You need to login to post a comment.