You are here

function ctools_context_theme in Chaos Tool Suite (ctools) 7

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

Implements 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(
    'variables' => array(
      'object' => NULL,
    ),
    'file' => 'includes/context.theme.inc',
  );
  $theme['ctools_context_list_no_table'] = array(
    'variables' => array(
      'object' => NULL,
    ),
    'file' => 'includes/context.theme.inc',
  );
  $theme['ctools_context_item_form'] = array(
    'render element' => 'form',
    'file' => 'includes/context.theme.inc',
  );
  $theme['ctools_context_item_row'] = array(
    'variables' => array(
      'type' => NULL,
      'form' => NULL,
      'position' => NULL,
      'count' => NULL,
      'with_tr' => TRUE,
    ),
    'file' => 'includes/context.theme.inc',
  );

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