You are here

function views_isotope_theme in Brainstorm profile 7

Implements hook_theme().

Defines the theming capabilities provided by this module.

A default 'instance' of NULL means an optionset should apply to all instances on the page, unless restricted to one or more.

File

modules/custom/views_isotope/views_isotope.module, line 349
Load the isotope library and provide configuration and theme options.

Code

function views_isotope_theme($existing, $type, $theme, $path) {
  return [
    'isotope_grid' => [
      'variables' => [
        'config' => 'isotope_default_config',
        'items' => [],
        'instance' => NULL,
      ],
    ],
    'isotope_filter' => [
      'variables' => [
        'items' => [],
        'instance' => NULL,
        'filtername' => 'filter',
        'filtertitle' => NULL,
      ],
    ],
    'isotope_sorter' => [
      'variables' => [
        'sorts' => [],
        'original' => NULL,
        'instance' => NULL,
      ],
    ],
  ];
}