diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-05-21 23:07:16 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-05-21 23:07:16 +0000 |
commit | 4bc255ba792db435e2d487f113ca2a638ed63fea (patch) | |
tree | 0ca88b698215d5866b5643ad57add73b4410d64a /modules/system | |
parent | 02c8592759c5b33d3d94fe6a515f10af4317dd5c (diff) | |
download | brdo-4bc255ba792db435e2d487f113ca2a638ed63fea.tar.gz brdo-4bc255ba792db435e2d487f113ca2a638ed63fea.tar.bz2 |
Roll-back of #310467: Breaks installer requirements check and update.php.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.api.php | 4 | ||||
-rw-r--r-- | modules/system/system.module | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index c2e6e8926..3adfef94a 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -583,6 +583,10 @@ function hook_perm() { * used as the default value if not specified to the theme() function. * These arguments must be in the same order that they will be given to * the theme() function. + * - file: The file the implementation resides in. This file will be included + * prior to the theme being rendered, to make sure that the function or + * preprocess function (as needed) is actually loaded; this makes it possible + * to split theme functions out into separate files quite easily. * - path: Override the path of the file to be used. Ordinarily the module or * theme path will be used, but if the file will not be in the default path, * include it here. This path should be relative to the Drupal root diff --git a/modules/system/system.module b/modules/system/system.module index 017c43473..40538d104 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -121,33 +121,43 @@ function system_theme() { return array_merge(drupal_common_theme(), array( 'system_theme_select_form' => array( 'arguments' => array('form' => NULL), + 'file' => 'system.admin.inc', ), 'system_themes_form' => array( 'arguments' => array('form' => NULL), + 'file' => 'system.admin.inc', ), 'system_modules_fieldset' => array( 'arguments' => array('form' => NULL), + 'file' => 'system.admin.inc', ), 'system_modules_incompatible' => array( 'arguments' => array('message' => NULL), + 'file' => 'system.admin.inc', ), 'system_modules_uninstall' => array( 'arguments' => array('form' => NULL), + 'file' => 'system.admin.inc', ), 'status_report' => array( 'arguments' => array('requirements' => NULL), + 'file' => 'system.admin.inc', ), 'admin_page' => array( 'arguments' => array('blocks' => NULL), + 'file' => 'system.admin.inc', ), 'admin_block' => array( 'arguments' => array('block' => NULL), + 'file' => 'system.admin.inc', ), 'admin_block_content' => array( 'arguments' => array('content' => NULL), + 'file' => 'system.admin.inc', ), 'system_admin_by_module' => array( 'arguments' => array('menu_items' => NULL), + 'file' => 'system.admin.inc', ), 'system_powered_by' => array( 'arguments' => array('image_path' => NULL), |