1 system.module system_theme()

Implements hook_theme().

File

core/modules/system/system.module, line 62
Configuration system that lets administrators modify the workings of the site.

Code

function system_theme() {
  $base = array(
    'file' => 'system.theme.inc',
  );

  return array_merge(backdrop_common_theme(), array(
    'system_themes_page' => array(
      'variables' => array('theme_groups' => NULL),
    ) + $base,
    'system_settings_form' => array(
      'render element' => 'form',
    ) + $base,
    'confirm_form' => array(
      'render element' => 'form',
    ) + $base,
    'system_modules_fieldset' => array(
      'render element' => 'form',
    ) + $base,
    'system_modules_incompatible' => array(
      'variables' => array('message' => NULL),
    ) + $base,
    'system_modules_uninstall' => array(
      'render element' => 'form',
    ) + $base,
    'status_report' => array(
      'render element' => 'requirements',
    ) + $base,
    'admin_page' => array(
      'variables' => array('blocks' => NULL),
    ) + $base,
    'admin_block' => array(
      'variables' => array('block' => NULL),
    ) + $base,
    'admin_block_content' => array(
      'variables' => array('content' => NULL),
    ) + $base,
    'page_components' => array(
      'variables' => array('settings' => NULL, 'child_delta' => NULL),
      'template' => 'templates/page-components',
    ) + $base,
    'system_admin_index' => array(
      'variables' => array('menu_items' => NULL),
    ) + $base,
    'system_powered_by' => array(
      'variables' => array(),
    ) + $base,
    'block__system__main' => array(
      'template' => 'templates/block--system--main',
      //'variables' => array('content' => NULL, 'layout' => NULL, 'block' => NULL, 'style' => NULL, 'settings' => array(), 'attributes' => array()),
      'base hook' => 'block',
    ) + $base,
    'tree_table' => array(
      'variables' => array(
        'header' => array(),
        'rows' => array(),
        'attributes' => array(),
        'empty' => '',
        'caption' => '',
      ),
    ) + $base,
    'token_tree' => array(
      'variables' => array(
        'token_types' => array(),
        'global_types' => TRUE,
        'click_insert' => TRUE,
        'show_restricted' => FALSE,
        'recursion_limit' => 3,
        'dialog' => FALSE,
      ),
    ) + $base,
    'token_tree_link' => array(
      'variables' => array(
        'text' => NULL,
        'options' => array(),
        'token_types' => array(),
        'global_types' => TRUE,
        'click_insert' => TRUE,
        'show_restricted' => FALSE,
        'recursion_limit' => 3,
        'dialog' => TRUE,
      ),
    ) + $base,
  ));
}