1 installer.module installer_theme($existing, $type, $theme, $path)

Implements hook_theme().

File

core/modules/installer/installer.module, line 164
Handles installation and updates of contributed projects.

Code

function installer_theme($existing, $type, $theme, $path) {
  $base = array(
    'file' => 'installer.theme.inc',
  );

  return array(
    'installer_manager_update_form' => array(
      'render element' => 'form',
    ) + $base,
    // Template for installation page.
    'installer_browser_install' => array(
      'variables' => array('current_task' => NULL, 'main_content' => NULL),
      'template' => 'templates/installer-install',
    ) + $base,
    // Template for list of projects.
    'installer_browser_list' => array(
      'variables' => array('projects_list' => NULL, 'type' => NULL),
      'template' => 'templates/installer-list',
    ) + $base,
    // Template for block.
    'installer_browser_block' => array(
      'render element' => 'element',
      'template' => 'templates/installer-block',
    ) + $base,
    // Template for single project.
    'installer_browser_project' => array(
      'variables' => array('project' => NULL, 'first' => NULL),
      'template' => 'templates/installer-project',
    ) + $base,
    // Template for project description.
    'installer_browser_project_description' => array(
      'render element' => 'description',
    ) + $base,
    // Template for project details dialog.
    'installer_browser_project_dialog' => array(
      'variables' => array('project' => NULL),
      'template' => 'templates/installer-project-dialog',
    ) + $base,
    // Template for install queue item.
    'installer_browser_install_queue' => array(
      'variables' => array('projects' => NULL),
      'template' => 'templates/installer-install-queue',
    ) + $base,
  );
}