diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-03 01:54:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-03 01:54:24 +0000 |
commit | ce17e244d46819e08ba7819bd43ea90f0044eaab (patch) | |
tree | 8f6fcb1cc665963ffa650b71c986a0e885e3e4e4 /modules/field/field.api.php | |
parent | b2726296b6cad067fd0b134fc1e42987d4ec7b31 (diff) | |
download | brdo-ce17e244d46819e08ba7819bd43ea90f0044eaab.tar.gz brdo-ce17e244d46819e08ba7819bd43ea90f0044eaab.tar.bz2 |
- Patch #870292 by yched, sun: hook_field_extra_fields() results are not cached.
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r-- | modules/field/field.api.php | 4 |
1 files changed, 1 insertions, 3 deletions
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; } } - } /** |