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.
0
votes
1
answer
1k
views
How do I debug with Xdebug in Visual Studio Code? [closed]
When I try to debug Drupal 8 (8.6.11) using Xdebug in VS Code (I'm on Win 10 but I doubt it is relevant in this case) I get the following error:
Exception has occurred. … using Drupal 8.6.10:
https://github.com/lando/lando/issues/1501
I did not find anything in drupal docs about the neccessity of creating a .env file to use Xdebug, so I suspect a bug eihter in Drupal 8 …
2
votes
0
answers
1k
views
kint() my_theme_preprocess_node error [closed]
My environment is as follows: Drupal 8.7.1, Devel modules:
devel Devel Development 8.x-2.1 8002 Installed no core
devel_generate … Devel Generate Development 8.x-2.1 Uninstalled no core
kint Devel Kint Development 8.x-2.1 8000 Installed …
1
vote
1
answer
8k
views
How do I pass variables into Twig template?
In my preprocess function I have variables with the route name and route parameters:
function my_theme_preprocess_node(&$variables){
$variables['route_name'] = $route_name;
$variables['route_para …
0
votes
1
answer
839
views
Can't place a custom block
After adding a block file to src/Plugin/Block I can't add the block on the Block Layout admin page. When I filter by block name I can see it, but then when I try to place it I can't get to the configu …