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.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index c4e364855..89f3e6a9b 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -1134,8 +1134,6 @@ function hook_field_storage_info_alter(&$info) {
*
* @param $field
* A field structure.
- * @param $instance
- * A field instance structure.
* @return
* An array of details.
* - The first dimension is a store type (sql, solr, etc).
@@ -1143,24 +1141,19 @@ function hook_field_storage_info_alter(&$info) {
* FIELD_LOAD_CURRENT or FIELD_LOAD_REVISION.
* - Other dimensions are specific to the field storage module.
*/
-function hook_field_storage_details($field, $instance) {
+function hook_field_storage_details($field) {
}
/**
* Perform alterations on Field API storage details.
*
- * The storage details are appended to the field instance structure after this
- * hook is invoked. Read and alter the $details only.
- *
* @param $details
* An array of storage details for fields as exposed by
* hook_field_storage_details() implementations.
* @param $field
* A field structure.
- * @param $instance
- * A field instance structure.
*/
-function hook_field_storage_details_alter(&$details, $field, $instance) {
+function hook_field_storage_details_alter(&$details, $field) {
}
/**