An Estimated Read Time example
Drupal Estimated Read Time field settings

The Estimated Read Time module adds a new field type that calculates the time it takes to read that entity's content. The read time is calculated based on the content displayed in a selected view mode.

There are other modules that exist with similar functionality. However, most of them are using psuedo-fields and global settings where fields are selected to be included in the read time estimate. This module's usage of a field and view mode has some advantages that includes:

  1. Calculating the read time based on a selected view mode allows this module to be more accurate when using layout builder. Only using fields on the entity will leave out any inline blocks that could meaningfully contribute to the read time.
  2. The settings can be modified on a per field basis. This makes it possible to choose what content is included in the read time calculation for each entity.
  3. The calculated read time will be saved to the database. Any time it takes to calculate the read time will be performed when the content is saved.
  4. Using a field instead of a psuedo-field allows for standard hooks and views usage.

Other Modules

Live Example

This blog post on SharkBite.com displays a read time from this module.

Supporting organizations: 

Project information

Releases