Skip to main content
Share Your Experience: Take the 2024 Developer Survey
Nic's user avatar
Nic's user avatar
Nic's user avatar
Nic
  • Member for 13 years
  • Last seen more than 2 years ago
5 votes
3 answers
5k views

How do I theme a link with twig for a specific content type?

20 votes
6 answers
18k views

How can I control block visibility with code?

2 votes
3 answers
2k views

Programmatically create a comment form for a node

0 votes
4 answers
3k views

How do I reference an image inside my custom module directory?

6 votes
5 answers
14k views

How to properly add inline Javascript?

0 votes
1 answer
905 views

Can I organize my custom module's twig templates into subfolders? [duplicate]

3 votes
2 answers
3k views

8 - How do I load a Term entity from an EntityReferenceItem?

5 votes
2 answers
3k views

Is it possible to use an image style with a path rather than a URI?

2 votes
2 answers
3k views

Is there a way with drush or console to delete all active config with a certain prefix?

4 votes
3 answers
8k views

How do I get $node->body $node->teaser?

0 votes
2 answers
42 views

Is it possible to add a default URL parameter inside a theme template_XYZ function?

0 votes
1 answer
66 views

#markup is replacing colon in <gcse:search... tag with space

1 vote
1 answer
1k views

Is there a way to force drush to enable a module and ignore dependencies?

2 votes
1 answer
2k views

Output node.type in page.html.twig gives "EntityReferenceFieldItemList cannot be printed"

0 votes
1 answer
564 views

Visibility problem with 'restricted to certain pages'

1 vote
1 answer
450 views

What is the correct way to create a new ImageItem and attach it to a FileFieldItemList?

2 votes
2 answers
3k views

How can I theme a form element with hook_preprocess_form_element()?

2 votes
1 answer
584 views

How can I get pathauto to generate language-inspecific rules?

0 votes
0 answers
80 views

8 - Views ignores my "Grouping field"

3 votes
1 answer
2k views

What is the correct way to cache blocks by language?

1 vote
1 answer
459 views

Some tags in the output from my controller are filtered away

0 votes
1 answer
175 views

8 - Node::load is generating an object with circular reference which is crashing kint() and var_export()

3 votes
1 answer
1k views

8 - Is there a drush command to reset a module's config back to install defaults?

1 vote
1 answer
94 views

Is there any way to count the number of items in cache?

1 vote
1 answer
288 views

How do I get kint() to include the variable name in output?

8 votes
2 answers
4k views

8 - How to programmatically add terms to an existing Node

1 vote
1 answer
300 views

What's difference between node_revision__field_X and node__field_X tables in Drupal 8?

1 vote
1 answer
268 views

How do I replace a module with a dev version through the UI?

0 votes
1 answer
160 views

How to change block visibility/pages in hook_block in my module?

4 votes
1 answer
7k views

How can I display a taxonomy term's parent ID in Views?