Search Results
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 |
Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.
1
vote
1
answer
1k
views
token_filter module: [node:nid] for custom block?
Drupal: 8.1.7
Module: token_filter 8.x-1.0-beta1
I have a custom block with a Text format that has Global and entity tokens are replaced with their values enabled. …
1
vote
1
answer
165
views
How to set Disqus Share link to window.location.pathname + window.location.search?
Version Disqus 8.x-1.0-rc3
Drupal 8.2.5
I have a page that is built up of multiple nodes using Twig Tweaks. One of the nodes has the Disqus comment field. …
0
votes
How to set Disqus Share link to window.location.pathname + window.location.search?
So the solution was to add my own Javascript file and just clear the drupal settings for disqus like this:
Added Javascript file to modules/custom/MYMODULE/MYMODULE.libraries.yml
disqus-overrides: …
1
vote
Accepted
How do I include a Javascript Library from a Twig Extension in Drupal 8?
Partial Answer that works
... but I don't like it because the list of paths in the config never gets reset. I think I need to figure out how to do Cache Contexts for a proper answer.
In my modules/ …
3
votes
1
answer
3k
views
How do I include a Javascript Library from a Twig Extension in Drupal 8?
I have a custom Twig Extension that needs to add a Javascript library ONLY when the Twig Extension is used.
Here is my modules/custom/MY_MODULE/MY_MODULE.libraries.yml:
my-twig-extension:
version: …