You are here

function ctools_context_theme in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/context.theme.inc \ctools_context_theme()

Implementation of hook_theme()

File

includes/context.theme.inc, line 11
Contains theme registry and theme implementations for the context tool.

Code

function ctools_context_theme(&$theme) {
  $theme['ctools_context_list'] = array(
    'arguments' => array(
      'object',
    ),
    'file' => 'includes/context.theme.inc',
  );
  $theme['ctools_context_list_no_table'] = array(
    'arguments' => array(
      'object',
    ),
    'file' => 'includes/context.theme.inc',
  );
  $theme['ctools_context_item_form'] = array(
    'arguments' => array(
      'form',
    ),
    'file' => 'includes/context.theme.inc',
  );
  $theme['ctools_context_item_row'] = array(
    'arguments' => array(
      'type',
      'form',
      'position',
      'count',
      'with_tr' => TRUE,
    ),
    'file' => 'includes/context.theme.inc',
  );

  // For the access plugin
  $theme['ctools_access_admin_add'] = array(
    'arguments' => array(
      'form',
    ),
    'file' => 'includes/context-admin.inc',
  );
}