Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 23676

The Views module allows creating lists of entities with a flexible query builder.

0 votes
2 answers
3k views

How to modify Drupal 8 Views "Rewrite..." field values later in code?

In a Drupal 8.3 View, I am displaying fields. One of these fields is configured to "rewrite results" so as to "output this field as a custom link" with a custom link path. I would like to modify thes …
2 votes

How to modify Drupal 8 Views "Rewrite..." field values later in code?

I was able to change the Views rewrite path value inside hook_preprocess_views_view_field(&$variables), but this affected the following field in the results array, not the current field. … I also used template_preprocess_views_view() to re-organize all the Views rows before they were rendered in the twig template, but as mentioned before, I couldn't change the content of the rows inside …
Jon Paul Vivere's user avatar