You are here

function field_collection_tabs_theme in Field Collection Tab formatter 7

Same name and namespace in other branches
  1. 8 field_collection_tabs.module \field_collection_tabs_theme()

Implements hook_theme().

File

./field_collection_tabs.module, line 140
Provides formatter for field collections on tabs @copyright Copyright(c) 2012 Previous Next Pty Ltd @license GPL v2 http://www.fsf.org/licensing/licenses/gpl.html @author Lee Rowlands larowlan at previousnext dot com dot au

Code

function field_collection_tabs_theme() {
  return array(
    'field_collection_tabs' => array(
      'variables' => array(
        'titles' => array(),
        'tabs' => array(),
        'field_name' => NULL,
      ),
    ),
    'field_collection_tabs_tab_title' => array(
      'variables' => array(
        'title' => NULL,
        'tab_id' => NULL,
      ),
    ),
    'field_collection_tabs_tab' => array(
      'variables' => array(
        'tab' => NULL,
        'tab_id' => NULL,
      ),
    ),
  );
}