Skip to content

Instantly share code, notes, and snippets.

@toleillo
Created January 22, 2014 12:26
Show Gist options
  • Save toleillo/8557877 to your computer and use it in GitHub Desktop.
Save toleillo/8557877 to your computer and use it in GitHub Desktop.
Get the context blocks for region.
$reaction = context_get_plugin('reaction', 'block');
$vars['BLOCK_REGION_NAME'] = $reaction->block_get_blocks_by_region('BLOCK_REGION_NAME');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment