Same name and namespace in other branches
  1. 7.x modules/system/system.admin.inc \system_theme_default()

Prepare defaults for themes.

Return value

An array of default themes settings.

1 call to system_theme_default()
_system_theme_data in modules/system/system.module
Helper function to scan and collect theme .info data and their engines.

File

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

Code

function system_theme_default() {
  return array(
    'regions' => array(
      'left' => 'Left sidebar',
      'right' => 'Right sidebar',
      'content' => 'Content',
      'header' => 'Header',
      'footer' => 'Footer',
    ),
    'description' => '',
    'features' => array(
      'comment_user_picture',
      'favicon',
      'mission',
      'logo',
      'name',
      'node_user_picture',
      'search',
      'slogan',
      'primary_links',
      'secondary_links',
    ),
    'stylesheets' => array(
      'all' => array(
        'style.css',
      ),
    ),
    'scripts' => array(
      'script.js',
    ),
    'screenshot' => 'screenshot.png',
    'php' => DRUPAL_MINIMUM_PHP,
  );
}