Problem/Motivation

On some occasions, there may be a need to set the read time manually.

Proposed resolution

I created a form to go into the advanced group on the right-hand side. This tells the user the last calculated time and they can override it if they want.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

stephenb001 created an issue. See original summary.

yivanov made their first commit to this issue’s fork.

yivanov’s picture

Thank you @stephenb001 !

yivanov’s picture

Status: Active » Fixed

  • 19aa448d committed on 8.x-1.x
    Revert "Issue #3307265: Override the read time"
    
    This reverts commit...
yivanov’s picture

I will reopen this, as it requires more work.
Two methods are missing:

- saveOverrideReadingTime
- removeBundleTimes

Plus there is a deprecated use of Drupal\Core\Database\Driver\mysql\Connection and should be replaced with \Drupal\Core\Database\Connection

yivanov’s picture

Status: Fixed » Needs work
kimlop’s picture

Hello, any updates for this feature?

astonvictor made their first commit to this issue’s fork.

astonvictor’s picture

Status: Needs work » Needs review

Hi there,

Added a new text field that will alter an output for the 'reading time' extra field and view field plugin.

astonvictor’s picture

Status: Needs review » Fixed

Added a new 'Override reading time' text field for nodes. The value from the field will override the output for the reading_time extra field.
It should work for both the extra field and the view field plugin.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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