You are here

function views_isotope_theme in Views Isotope (Deprecated) 7.2

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

./views_isotope.module, line 348
Load the isotope library and provide configuration and theme options.

Code

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