Problem/Motivation

Some modules allow to store attributes in Url options like Link Target for example. It would be nice to be able to access Url options to get those attributes if needed.

CommentFileSizeAuthor
#5 3295556-5.patch1.94 KBduaelfr

Issue fork token-3295556

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

DuaelFr created an issue. See original summary.

duaelfr’s picture

Status: Active » Needs review

It would work well with #1195874: Need to figure out how to create nested tokens from the array token type to be able to access subvalues but it's out of the scope of this issue.

duaelfr’s picture

Rerolled on latest dev version.

duaelfr’s picture

StatusFileSize
new1.94 KB

Rerolled MR on latest dev version.
Patch attached for composer.

g4mbini’s picture

Thanks @Duaelfr. Very useful issue. It solves a use case I had on a client project. Thanks for the patch!