summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-02 15:00:34 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-02 15:00:34 +0000
commitb12d812b9397609a5853d8c2b73f29d282496fd9 (patch)
treecf6de6724ccba65a56aa3d73f6bf554ccc3c0313 /modules/field/field.api.php
parent89028a43bbbaf73e6aa1e8e00bc12d46d1fc7119 (diff)
downloadbrdo-b12d812b9397609a5853d8c2b73f29d282496fd9.tar.gz
brdo-b12d812b9397609a5853d8c2b73f29d282496fd9.tar.bz2
- Patch #665878 by yched: fixed field_extra_fields()
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r--modules/field/field.api.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 52000d922..b54dd63f4 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -19,9 +19,7 @@
* field_attach_extra_weight() to retrieve the user-defined weight when
* inserting the component.
*
- * @param $bundle
- * The name of the bundle being considered.
- * @return
+ * @return @todo
* An array of 'pseudo-field' components. The keys are the name of the element
* as it appears in the form structure. The values are arrays with the
* following key/value pairs:
@@ -31,7 +29,7 @@
* - view: (optional) The name of the element as it appears in the rendered
* structure, if different from the name in the form.
*/
-function hook_field_extra_fields($bundle) {
+function hook_field_extra_fields() {
$extra = array();
if ($type = node_type_get_type($bundle)) {