Community Documentation

system_theme_default

6 system.module system_theme_default()
7 system.admin.inc system_theme_default()
8 system.admin.inc system_theme_default()

Prepare defaults for themes.

Return value

An array of default themes settings.

▾ 1 function calls 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

<?php
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,
  );
}
?>
Login or register to post comments