I am using Read time module for calculating the read time for each node. Value is getting inserted in the database table correctly. But I didn't get an idea about how can I get this value in view. Because I want to show this in a article list view. ie each article's read time in its card.

How can I achieve this?


You need a patch that hasn't been merged yet.

Issue is here - https://www.drupal.org/project/read_time/issues/2819071

The patch was created here - https://www.drupal.org/project/read_time/issues/2819071#comment-13416093
You need anther module, so read that ^

In case you haven't applied a patch before, here's the link to the documentation on drupal.org about it. https://www.drupal.org/patch/apply


Another option, change your view from Fields to Content. Add a view mode to your content type if you need to with only the fields you need.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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