system_theme

system_theme()

Implements hook_theme().

File

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

Code

function system_theme() {
  return array_merge(drupal_common_theme(), array(
    // Normally theme suggestion templates are only picked up when they are in
    // themes. We explicitly define theme suggestions here so that the block
    // templates in core/modules/system/templates are picked up.
    'block__system_branding_block' => array(
      'render element' => 'elements',
      'base hook' => 'block',
    ),
    'block__system_messages_block' => array(
      'base hook' => 'block',
    ),
    'block__system_menu_block' => array(
      'render element' => 'elements',
      'base hook' => 'block',
    ),
    'system_themes_page' => array(
      'variables' => array(
        'theme_groups' => array(),
        'theme_group_titles' => array(),
      ),
      'file' => 'system.admin.inc',
    ),
    'system_config_form' => array(
      'render element' => 'form',
    ),
    'confirm_form' => array(
      'render element' => 'form',
    ),
    'system_modules_details' => array(
      'render element' => 'form',
      'file' => 'system.admin.inc',
    ),
    'system_modules_uninstall' => array(
      'render element' => 'form',
      'file' => 'system.admin.inc',
    ),
    'status_report' => array(
      'variables' => array('requirements' => NULL),
      'file' => 'system.admin.inc',
    ),
    'admin_page' => array(
      'variables' => array('blocks' => NULL),
      'file' => 'system.admin.inc',
    ),
    'admin_block' => array(
      'variables' => array('block' => NULL),
      'file' => 'system.admin.inc',
    ),
    'admin_block_content' => array(
      'variables' => array('content' => NULL),
      'file' => 'system.admin.inc',
    ),
    'system_admin_index' => array(
      'variables' => array('menu_items' => NULL),
      'file' => 'system.admin.inc',
    ),
    'entity_add_list' => array(
      'variables' => array(
        'bundles' => array(),
        'add_bundle_message' => NULL,
      ),
      'template' => 'entity-add-list',
    ),
  ));
}
doc_Drupal
2016-10-29 09:45:59
Comments
Leave a Comment

Please login to continue.