summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-04 15:40:52 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-04 15:40:52 +0000
commit9502260ecf33a4b345794eea2d0b6e6dff5dbd74 (patch)
tree26612164dfc6fef6089a6774df81e6dc3157887d /modules/field/field.api.php
parent47326c49cbac1765a804c7c2166244148dc52401 (diff)
downloadbrdo-9502260ecf33a4b345794eea2d0b6e6dff5dbd74.tar.gz
brdo-9502260ecf33a4b345794eea2d0b6e6dff5dbd74.tar.bz2
- Patch #902264 by Damien Tournoud: move hook_field_schema() to .install files so we can get the upgrade path to work.
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r--modules/field/field.api.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index a3d8bdbf4..9b2d3bb4f 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -211,6 +211,9 @@ 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.
+ *
* @param $field
* A field structure.
*