From ce17e244d46819e08ba7819bd43ea90f0044eaab Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 3 Aug 2010 01:54:24 +0000 Subject: - Patch #870292 by yched, sun: hook_field_extra_fields() results are not cached. --- modules/field/field.api.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/field/field.api.php') diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 5315b7d3e..a3d8bdbf4 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -73,14 +73,12 @@ function hook_field_extra_fields() { * @see hook_field_extra_fields() */ function hook_field_extra_fields_alter(&$info) { - // Force node title to always be at the top of the list - // by default. + // Force node title to always be at the top of the list by default. foreach (node_type_get_types() as $bundle) { if (isset($info['node'][$bundle]['title'])) { $info['node'][$bundle]['title']['weight'] = -20; } } - } /** -- cgit v1.2.3