Problem/Motivation

There is no custom token for getting the changed date of an event instance, or series.

Steps to reproduce

As a developer I cannot utilize a token replacement for 'changed' or any of the chained derivatives when performing token replacements for an even instance or series.

Proposed resolution

Adding code to allow for a token for changed date for event series or event instance.

Remaining tasks

none

User interface changes

none

API changes

A token can now be utilized as eventseries:changed or eventinstance:changed.

Data model changes

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

koolaidguy created an issue. See original summary.

koolaidguy’s picture

StatusFileSize
new831.5 KB
koolaidguy’s picture

StatusFileSize
new3.33 KB
muriqui’s picture

Category: Task » Feature request
Status: Active » Needs work

Please resubmit as an MR. Also, looks like there are some code quality issues in the patch, such as the use of t() and \Drupal::service instead of $this->t() and dependency injection.

muriqui changed the visibility of the branch 3622557-create-a-custom to hidden.

muriqui’s picture

  • muriqui committed 25d3a9bf on 3.0.x
    feat: #3622557 Create a custom chained token for changed date
    
    By:...
muriqui’s picture

Status: Needs work » Fixed

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

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

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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