D8: Variables in template_preprocess_views_view not passed to twig
I had a very strange problem wherein I was not able to affect variables being passed to views-view-grid--my_view.html.twig
.
Welcome. My name is Jeremiah John, sf/f author & activist.I tell liberationist stories.. . . More About Me
I had a very strange problem wherein I was not able to affect variables being passed to views-view-grid--my_view.html.twig
.
On the method of creating custom breadcrumbs: simply crumble stale bread and dip battered eggs into your bowl. But in Drupal.
Views has a setting to exclude the current nid from the URL from the listing one is currently viewing. This is essential when you have, say, a list of related nodes that are are defined by a category that includes the current node. If you don't exclude the current node, your current node will be listed in the "related content" block on itself. Well, obviously one is related to oneself, one thinks.
First, I tired to accomplish this through the UI with these steps, below.