- 🇮🇹Italy dkatena
UPDATE: For those who need to use the old system in Drupal 9 with the formulas in the UI, the procedure is simple.
NOTE: The use of formulas in the UI has been deprecated by the developers for security reasonsFirst of all it's necessary to use the "computed_field 8.x-2.0" version and edit core_version_requirement line in the computed_field.info.yml file.
I use the file like this:
name: ComputedField type: module description: Defines a field type that allows values to be "computed" via PHP code. core_version_requirement: ^8 || ^9 package:Field types
This way you can migrate to Drupal 9 and have time to copy your formulas into a custom module before moving to version 3.0
- 🇦🇹Austria maxilein
That does not solve all the problems:
It is not only the formulas you may be missing. What about views that depend on/use these caculated fields? Do you need to go though all of them?! And re-add fields that were deleted during uninstall?! - 🇮🇹Italy dkatena
I still use the modified 8.x-2.0 version precisely because it allows me to use Views and continue with the formulas in the UI.
I'm following with interest the work on version 4.x which seems to be the best successor to the module.