# Summary

Defines a field type that allows values to be "computed" via PHP code.

# Project URL

https://www.drupal.org/project/computed_field

# Where is the code?

8.x-2.0-alpha4
Code: http://cgit.drupalcode.org/computed_field/log/?h=8.x-1.x
Issues: https://www.drupal.org/project/issues/computed_field?version=8.x

# Estimated completion date

# Dependencies

None

# Who's doing the port?

dealancer

# What help do they need?

# D8 roadmap

#2587499: Port Computed Field to Drupal 8

# Background and reference information

This module is use by ERPAL for Service Providers at https://www.drupal.org/project/erpal

Comments

dealancer created an issue. See original summary.

dealancer’s picture

Title: [token] Token » [computed_field] Computed Field
Priority: Critical » Major
dealancer’s picture

Issue summary: View changes
dealancer’s picture

Parent issue: #2578451: [token] Token »
dealancer’s picture

Issue summary: View changes
dealancer’s picture

Priority: Major » Normal
dealancer’s picture

Status: Needs work » Needs review
francewhoa’s picture

Issue summary: View changes
francewhoa’s picture

Status: Needs review » Needs work

Note to myself: Needs work = D8 development has started but is not yet usable. Per https://www.drupal.org/project/contrib_tracker

sime’s picture

I'm having success with a computed field that combines data in the $fields array and stores the data in the database.

dealancer’s picture

Status: Needs work » Fixed

Module release has been done!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

jhedstrom’s picture

Status: Closed (fixed) » Needs review

Issue status is at needs review since this has an alpha release.

mmjvb’s picture

Issue summary: View changes
Status: Needs review » Needs work

With a dev release Status should be Needs work.
The 8.x-1.0-alpha1 has no future.

colan’s picture

Status: Needs work » Needs review

I got a good amount of work done in the last couple of days. Please test the latest alpha, and report any issues. Thanks!

Setting status as per the guidelines.

andypost’s picture

for 8.4 core there's build-in views integration https://www.drupal.org/node/2904410

mmjvb’s picture

Issue summary: View changes
colan’s picture

@andypost: Is there anything we need to do in the code here (8.x-2.x-dev branch) to support that, or will it just work? If there's something we need to do code-wise, we should create an issue for it.

colan’s picture

Issue summary: View changes
andypost’s picture

@colan I bet it should work, just a bit of polish still needed https://cgit.drupalcode.org/computed_field/tree/src/Plugin/Field/FieldTy... (could use random as core)

colan’s picture

Status: Needs review » Fixed
avpaderno’s picture

I am giving credits to the users who participated in this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

francewhoa’s picture

Thanks all for your contributions :) Yay