summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/field.api.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 463da5514..04534db99 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -199,8 +199,11 @@ function hook_field_info_alter(&$info) {
/**
* Define the Field API schema for a field structure.
*
- * This hook MUST be defined in .install for it to be detected during
- * installation and upgrade.
+ * This is invoked when a field is created, in order to obtain the database
+ * schema from the module that defines the field's type.
+ *
+ * This hook must be defined in the module's .install file for it to be detected
+ * during installation and upgrade.
*
* @param $field
* A field structure.