diff options
-rw-r--r-- | modules/field/field.module | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/field/field.module b/modules/field/field.module index d110c4878..c2e5165e3 100644 --- a/modules/field/field.module +++ b/modules/field/field.module @@ -994,16 +994,18 @@ function field_has_data($field) { * * @param $op * The operation to be performed. Possible values: - * - "edit" - * - "view" + * - 'edit' + * - 'view' * @param $field - * The field on which the operation is to be performed. + * The full field structure array for the field on which the operation is to + * be performed. See field_info_field(). * @param $entity_type * The type of $entity; e.g., 'node' or 'user'. * @param $entity * (optional) The entity for the operation. * @param $account * (optional) The account to check, if not given use currently logged in user. + * * @return * TRUE if the operation is allowed; * FALSE if the operation is denied. |