function views_isotope_context_plugins in Brainstorm profile 7
Implements hook_context_plugins().
File
- modules/
custom/ views_isotope/ views_isotope.module, line 80 - Load the isotope library and provide configuration and theme options.
Code
function views_isotope_context_plugins() {
$plugins = [];
$plugins['IsotopeReaction'] = [
'handler' => [
'path' => drupal_get_path('module', 'views_isotope') . '/plugins/context',
'file' => 'views_isotope_reaction.inc',
'class' => 'IsotopeReaction',
'parent' => 'context_reaction',
],
];
return $plugins;
}