You are here

protected property ThemeExtensionList::$defaults in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Extension/ThemeExtensionList.php \Drupal\Core\Extension\ThemeExtensionList::defaults

Default values to be merged into *.info.yml file arrays.

Type: mixed[]

Overrides ExtensionList::$defaults

File

core/lib/Drupal/Core/Extension/ThemeExtensionList.php, line 23

Class

ThemeExtensionList
Provides a list of available themes.

Namespace

Drupal\Core\Extension

Code

protected $defaults = [
  'engine' => 'twig',
  'regions' => [
    'sidebar_first' => 'Left sidebar',
    'sidebar_second' => 'Right sidebar',
    'content' => 'Content',
    'header' => 'Header',
    'primary_menu' => 'Primary menu',
    'secondary_menu' => 'Secondary menu',
    'footer' => 'Footer',
    'highlighted' => 'Highlighted',
    'help' => 'Help',
    'page_top' => 'Page top',
    'page_bottom' => 'Page bottom',
    'breadcrumb' => 'Breadcrumb',
  ],
  'description' => '',
  // The following array should be kept inline with
  // _system_default_theme_features().
  'features' => [
    'favicon',
    'logo',
    'node_user_picture',
    'comment_user_picture',
    'comment_user_verification',
  ],
  'screenshot' => 'screenshot.png',
  'version' => NULL,
  'php' => DRUPAL_MINIMUM_PHP,
  'libraries' => [],
  'libraries_extend' => [],
  'libraries_override' => [],
  'dependencies' => [],
];