Active
Project:
Computed Field Tools
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Oct 2011 at 04:56 UTC
Updated:
9 Jun 2013 at 17:37 UTC
A few people has requested a drush implementation of the re-computing of the fields. It makes sense, so I will implement this.
As the batch handling in drush seems a bit handheld, I'm not sure if I will implement a batch run. I will look in to it.
If it seems straight forward to do a complete/partial implementation (making the batch ready to run), I will also implement this.
Comments
Comment #1
frakke commentedI have added a drush command line utility for processing computed_field fields.
For now I won't implement any actual batch routine unless there is a need for it. For now I don't see any.
The drush command is "drush cftr".
Optionally you can pass the computed_field name along "drush cftr field_computed".
You can turn off the output through "drush cftr --output=0".
You can limit the number of entities to process through "drush cftr --limit=3".
Needs testing.
Comment #2
relaxy commentedCan you backport the code for Drupal 6 please?