Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download computed_field-7.x-1.0-beta1.tar.gztar.gz
11.78 KB
MD5: e566d11a54e304e60a009b9fd07bb751
SHA-1: 0654c791ab19a3e2a1bcc9ca5fa7c4f742553f86
SHA-256: eca41d3a472c3bdc8ca3865996bd954dd89796ee4740bd0dac30348c3593f286
Download computed_field-7.x-1.0-beta1.zipzip
12.77 KB
MD5: 75c79bd72d529a1133a8bf28d861bdb2
SHA-1: 83620d8aef2d33bf45c591c94bdc90b5b93370ee
SHA-256: 9cf3fe09da616eee244bc27608df318b532297f04c972989585871d11c3e054c
Release notes
This is the first pre-release release for the Drupal 7 branch. Please report bugs on it, rather than the dev branch itself.
Changes since D7 fork:
- Issue #1426372: Default formatter doesn't sanitize before output by colan: Made a sanitized formatter the default.
- Issue #1141396: "Store" option is confusing, the user don't know when the data will be updated by colan: Added more info to the "Store in database" checkbox.
- Issue #1425560: Undefined index: value in the function computed_field_entity_property_callback by colan: Check for index before using it.
- Issues #1151582: Update documentation to use field_get_items() and #1354176: README.txt instructions for custom function are wrong by colan: Moved README details to the web docs.
- Issue #1276168: Computed value is not saved in database table by colan: Minor change to variables available.
- Issue #1151582: Update documentation to use field_get_items() by colan: In-line example now properly uses field_get_items().
- Issue #1424636: Remove redundant CHANGELOG.txt by colan: Using commit log and release details instead of CHANGELOG, so removing.
- Issue #1151576: Document arguments for custom display function by colan: Added useful documentation for custom display function.
- Issue #1150184: Support entity API for Rules & search_api integration by tedfordgif and drewish: Add Entity API support to enable Search API integration.
- Issue #1275946: Site status report -> Problems detected: The following token types do not have any tokens defined: $info['tokens']['computed'] by rajatgusain and drewish: Fix warning that token types do not have any tokens defined.
- Issue #1201330: Computed Field doesn't show up in the Fields package by pillarsdotnet: Computed Field should show up under Fields with the other field modules.
- Issue #1276168: Computed value is not saved in database table by Begun: Improve documentation of computed code functions.
- Update README.txt to be more clear about the fields used in an example.
- Update README.txt for sample that previously used a float type.
- Change length validation to match proper field types.
- Schema API corrections and adding support for a decimal type with precision and scale.
- Correctly toggle NULL value option.
- Add null values for holes in multi-value fields to avoid index errors in simple display code.
- Letting the value computed during "insert" and "update" rather then "presave" to be in line with the D6 version and always have nid available to computed code. See #1081952: Compute values during "insert" and "update" rather then "presave" to make comments.
- #903614: Several files should not be executable - Several files should not be executable. Thank you GIT. :)
- Allow commas through for data length so that length notation for float DB fields works.
- Overhaul README.txt to bring it more in line with the 7.x version of Computed Field.
- #1059922: Unable to display computed output. - Unable to display computed output with patch by h0tw1r3
- #1076518: Missing array initialization of computed_fields - Missing array initialization of computed_fields patch by grobot
- #993576: Call-time pass-by-reference warnings - Call-time pass-by-reference warnings with patch by mikehoward
- Removing translation directories
- Stripping CVS keywords
- Fix last commit per new D7 field settings array
- Updating hook_content_is_empty() like issue #349548: Conditional result for hook_content_is_empty()
- Issue #576334: UI needs to clarify unstored fields' compataibility with Views - Added note about DB storage for Views and try to clean up $ tags
- Forgot to pull debug code again :/ Clean now.
- Move computation to presave rather then insert/update.
- Removed errant debugging call.
- Moonshine: Initial port to Drupal 7.