You are here

function test_theme in Views fieldsets 7.2

Implements hook_theme().

See also

views_fieldsets_theme()

views-fieldsets-fieldset.tpl.php

File

./views_fieldsets.api.php, line 9

Code

function test_theme() {
  return array(
    // Hook name format = views_fieldsets_TYPE.
    'views_fieldsets_simple' => array(
      // Label, as seen in Views Field edit screen.
      'views_fieldsets_label' => 'Super simple, func, no tpl',
      // Only 'fieldset_fields' is mandatory, but you can add anything you
      // want. 'legend' is optional, but always filled.
      'variables' => array(
        'fieldset_fields' => array(),
        'legend' => '',
      ),
    ),
  );
}