Computed fields have a computed_field_YOUR_FIELD_MACHINE_NAME_compute() function to compute the field value.

In Drupal in which module I use this?

  • Any custom module.
    – Beebee
    Jun 28, 2018 at 13:05

1 Answer 1


Any module can defined this function.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.