summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r--modules/field/field.api.php4
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;
}
}
-
}
/**