Skip to content

Instantly share code, notes, and snippets.

@toleillo
Created January 22, 2014 12:26

Revisions

  1. toleillo created this gist Jan 22, 2014.
    3 changes: 3 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@

    $reaction = context_get_plugin('reaction', 'block');
    $vars['BLOCK_REGION_NAME'] = $reaction->block_get_blocks_by_region('BLOCK_REGION_NAME');