You are here

function masonry_context_context_plugins in Masonry API 7

Implements hook_context_plugins().

File

masonry_context/masonry_context.module, line 19
Provides a Context reacton plugin to display content in a jQuery Masonry grid.

Code

function masonry_context_context_plugins() {
  $plugins = array();
  $plugins['context_reaction_masonry'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'masonry_context'),
      'file' => 'context_reaction_masonry.inc',
      'class' => 'context_reaction_masonry',
      'parent' => 'context_reaction',
    ),
  );
  return $plugins;
}